This commit is contained in:
2024-12-11 23:22:09 +01:00
parent 4b86b33872
commit 9b7944c14d
53 changed files with 2054 additions and 249 deletions

View File

@@ -10,7 +10,8 @@ from .views.questionview import QuestionView
register_converter(SeasonCodeConverter, "season")
register_converter(CandidateConverter, "candidate")
urlpatterns = [
path("", SelectSeasonView.as_view(), name="home"),
path("<season:season>/", EnterNameView.as_view(), name="quiz"),
path("", SelectSeasonView.as_view(), name="index"),
path("<season:season>/", EnterNameView.as_view(), name="enter_name"),
path("<candidate:candidate>/", QuestionView.as_view(), name="question"),
# path("<>")
]