Split base model from template + points model

This commit is contained in:
2024-02-27 19:42:21 +01:00
parent dc9dc3d092
commit 44549f019d
24 changed files with 196 additions and 132 deletions

View File

@ -0,0 +1,9 @@
from flask import render_template
from formula10 import app
from formula10.domain.template_model import TemplateModel
@app.route("/graphs")
def graphs_root() -> str:
model = TemplateModel(active_user_name=None, active_result_race_name=None)
return render_template("statistics.jinja", model=model)