Update: fdp

This commit is contained in:
Yûki VACHOT 2021-12-08 12:55:18 +01:00
parent 66fe84e3eb
commit a701b615df
3 changed files with 11 additions and 8 deletions

View file

@ -26,8 +26,10 @@ def create_app():
else:
print('ENV Variables passed : ', app.config['SQLALCHEMY_BINDS'])
db.init_app(app)
with app.app_context():
from . import routes
db.create_all()
return app
# import routes
return app
# db.init_app(app)
# db.create_all()
# return app