示例#1
0
def drop_all():
    if prompt_bool("Are you sure? You will lose all your data!"):
        db.drop_all()
示例#2
0
def drop_all():
    if prompt_bool("Are you sure? You will lose all your data!"):
        db.drop_all()
示例#3
0
 def tearDown(self):
     db.session.remove()
     db.drop_all()
     print dir(redis)
示例#4
0
 def tearDown(self):
     db.session.remove()
     db.drop_all()
     print dir(redis)