2.0.0-rc1 : Profile and achievements update.

This commit is contained in:
2026-08-09 00:50:45 +08:00
parent 562775e5db
commit 3874bf57a9
31 changed files with 2618 additions and 108 deletions
+16 -1
View File
@@ -13,9 +13,22 @@ def create_app(config_object=Config):
app.config.from_object(config_object)
initialize_web_db()
from web.services.roster_version_service import RosterVersionService
RosterVersionService.ensure_initial_version()
app.teardown_appcontext(close_dbs)
from web.routes import main, matches, players, teams, tactics, admin, wiki, opponents
from web.routes import (
admin,
awards,
main,
matches,
opponents,
players,
reports,
tactics,
teams,
wiki,
)
app.register_blueprint(main.bp)
app.register_blueprint(matches.bp)
app.register_blueprint(players.bp)
@@ -24,6 +37,8 @@ def create_app(config_object=Config):
app.register_blueprint(admin.bp)
app.register_blueprint(wiki.bp)
app.register_blueprint(opponents.bp)
app.register_blueprint(reports.bp)
app.register_blueprint(awards.bp)
return app