def DeleteAll(self): print "DELETED!" db.delete(OilGasLease.all()) db.delete(DocImage.all()) db.delete(Tract.all()) query = blobstore.BlobInfo.all() blobs = query.fetch(400) if len(blobs) > 0: for blob in blobs: blob.delete()