fix contract

This commit is contained in:
Alejandro Vazquez
2026-04-09 22:31:33 -03:00
parent 18f1d3a8c3
commit 0e39bf28e8
14 changed files with 2594 additions and 11 deletions
+3 -2
View File
@@ -31,13 +31,14 @@ def create_app(config_class=Config):
# Import models to ensure they are registered
from app.models import user
# Register blueprints
from app.routes import auth_bp, classrooms_bp, main_bp, schedule_bp
# Register blueprints
from app.routes import auth_bp, classrooms_bp, main_bp, schedule_bp, genetic_bp
app.register_blueprint(auth_bp, url_prefix="/")
app.register_blueprint(classrooms_bp, url_prefix="/classrooms")
app.register_blueprint(main_bp, url_prefix="/")
app.register_blueprint(schedule_bp, url_prefix="/schedule")
app.register_blueprint(genetic_bp)
# Babel language selector
@app.context_processor