Separated install script to avoid launch errors
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
from .config import Production as Config
|
||||
from .install import install_app
|
||||
from .models import User
|
||||
from .extensions import bootstrap, csrf, db, login_manager, mail
|
||||
|
||||
@@ -53,7 +52,5 @@ def create_app():
|
||||
app.register_blueprint(views)
|
||||
app.register_blueprint(quiz)
|
||||
app.register_blueprint(editor, url_prefix='/admin/editor')
|
||||
|
||||
install_app(app)
|
||||
|
||||
return app
|
Reference in New Issue
Block a user