예제 #1
0
파일: manage.py 프로젝트: Letbeauty/motiky
def create_all():
    if prompt_bool("Are you sure? You will init your database"):
        db.create_all()
예제 #2
0
def create_all():
    if prompt_bool("Are you sure? You will init your database"):
        db.create_all()
예제 #3
0
파일: __init__.py 프로젝트: MonaDogg/motiky
 def setUp(self):
     db.create_all()
     redis.flushdb()
예제 #4
0
 def setUp(self):
     db.create_all()
     redis.flushdb()