예제 #1
0
파일: manage.py 프로젝트: Letbeauty/motiky
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
파일: __init__.py 프로젝트: MonaDogg/motiky
 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)