From 8423fd02b47dea7bcd3894d4e5a15a52691c886b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Thu, 2 Nov 2023 15:27:19 +0100 Subject: [PATCH] Extend stats range to 2018 --- games/templates/stats.html | 5 +++-- games/views.py | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/games/templates/stats.html b/games/templates/stats.html index d91b26a..52e6960 100644 --- a/games/templates/stats.html +++ b/games/templates/stats.html @@ -10,8 +10,9 @@
diff --git a/games/views.py b/games/views.py index c722967..187e9ca 100644 --- a/games/views.py +++ b/games/views.py @@ -30,7 +30,7 @@ def model_counts(request): def stats_dropdown_year_range(request): - return {"stats_dropdown_year_range": range(2022, 2024)} + return {"stats_dropdown_year_range": range(2018, 2024)} def add_session(request):