This commit is contained in:
cedrick2711
2026-07-28 15:45:48 -04:00
19 changed files with 2132 additions and 225 deletions
+3 -1
View File
@@ -106,6 +106,7 @@ def create_app():
from routes.main import main_bp
from routes.teams import teams_bp
from routes.matches import matches_bp
from routes.team_matches import team_matches_bp
app.register_blueprint(auth_bp)
app.register_blueprint(tryouts_bp)
@@ -114,6 +115,7 @@ def create_app():
app.register_blueprint(main_bp)
app.register_blueprint(teams_bp)
app.register_blueprint(matches_bp)
app.register_blueprint(team_matches_bp)
# Register custom Jinja filters
app.jinja_env.filters['nl2br'] = nl2br
@@ -376,4 +378,4 @@ if __name__ == '__main__':
'Running in DEBUG mode with Flask built-in server. '
'This is NOT suitable for production. Use wsgi.py instead.'
)
app.run(debug=debug_mode, host='0.0.0.0', port=10000)
app.run(debug=debug_mode, host='0.0.0.0', port=10000)