예제 #1
0
파일: manage.py 프로젝트: nyakiss/nyapics
 def handle(*args, **kwargs):
     app.configure(
         DEBUG=True,
         SQLALCHEMY_ECHO=True,
         USE_X_SENDFILE=False,
     )
     Server.handle(*args, **kwargs)
예제 #2
0
import sys
from os.path import dirname, abspath

sys.path.append(abspath(dirname(__file__)))

from nyapics import app as application

application.configure()
예제 #3
0
파일: manage.py 프로젝트: nyakiss/nyapics
 def run(*args, **kwargs):
     app.configure(
         SQLALCHEMY_ECHO=True,
     )
     Shell.run(*args, **kwargs)
예제 #4
0
파일: manage.py 프로젝트: nyakiss/nyapics
 def run(self):
     app.configure(
         SQLALCHEMY_ECHO=True,
     )
     from nyapics.models import db
     db.create_all()