Add title to stats page
Django CI/CD / build-and-push (push) Blocked by required conditions Details
Django CI/CD / test (push) Has been cancelled Details

This commit is contained in:
Lukáš Kucharczyk 2023-12-15 10:58:15 +01:00
parent 4ff3692606
commit d9fbb4b896
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg
1 changed files with 1 additions and 0 deletions

View File

@ -479,6 +479,7 @@ def stats(request, year: int = 0):
highest_session_average_game.session_average, "%2.0Hh %2.0mm"
),
"highest_session_average_game": highest_session_average_game,
"title": f"{year} Stats",
}
request.session["return_path"] = request.path