Register MOC blueprint in Flask app
This commit is contained in:
@@ -45,6 +45,7 @@ def create_app(config_name='default'):
|
||||
from app.routes.instructions import instructions_bp
|
||||
from app.routes.admin import admin_bp
|
||||
from app.routes.extra_files import extra_files_bp
|
||||
from app.routes.moc import bp as moc_bp
|
||||
|
||||
app.register_blueprint(auth_bp)
|
||||
app.register_blueprint(main_bp)
|
||||
@@ -52,6 +53,7 @@ def create_app(config_name='default'):
|
||||
app.register_blueprint(instructions_bp)
|
||||
app.register_blueprint(admin_bp)
|
||||
app.register_blueprint(extra_files_bp)
|
||||
app.register_blueprint(moc_bp)
|
||||
|
||||
# Import models to ensure they're registered with SQLAlchemy
|
||||
from app.models.user import User
|
||||
|
||||
Reference in New Issue
Block a user