Merge branch 'dev' of https://github.com/cedrick2711/team-tryouts
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user