diff --git a/app/__init__.py b/app/__init__.py index 74b2410..1a8682f 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -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