Add basic key verification and change voice in template

This commit is contained in:
Joachim
2021-12-22 15:11:05 +01:00
parent 24b0e086e7
commit 1022e3e165
5 changed files with 131 additions and 91 deletions

View File

@ -479,7 +479,11 @@ urlpatterns = [
),
# annual summary
re_path(
r"^my-year-in-the-books/(?P<year>\d{4})/?$",
r"^my-year-in-the-books/(?P<year>\d+)/?$",
views.personal_annual_summary,
),
re_path(
rf"{LOCAL_USER_PATH}/(?P<year>\d+)-in-the-books/?$",
views.AnnualSummary.as_view(),
name="annual-summary",
),