1.6.0: Opponent system.

This commit is contained in:
2026-01-27 19:06:20 +08:00
parent 50428ae2ac
commit 86d2dbebe8
12 changed files with 1006 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ def create_app():
app.teardown_appcontext(close_dbs)
# Register Blueprints
from web.routes import main, matches, players, teams, tactics, admin, wiki
from web.routes import main, matches, players, teams, tactics, admin, wiki, opponents
app.register_blueprint(main.bp)
app.register_blueprint(matches.bp)
app.register_blueprint(players.bp)
@@ -23,6 +23,7 @@ def create_app():
app.register_blueprint(tactics.bp)
app.register_blueprint(admin.bp)
app.register_blueprint(wiki.bp)
app.register_blueprint(opponents.bp)
@app.route('/')
def index():