Split base model from template + points model
This commit is contained in:
9
formula10/controller/statistics_controller.py
Normal file
9
formula10/controller/statistics_controller.py
Normal 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)
|
Reference in New Issue
Block a user