예제 #1
0
 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()
예제 #2
0
    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()