Static + trailing slashes in urls

This commit is contained in:
2021-09-20 21:27:00 +02:00
parent 962930c38a
commit 350488e748
183 changed files with 40418 additions and 9 deletions

View File

@ -4,14 +4,14 @@ from .views import SignUpView, SubmitStudentsView, UpdateAccountView, ScoresRedi
urlpatterns = [
path('', HomeView.as_view(), name='home'),
path('aktualnosci', NewsView.as_view(), name='news'),
path('regulamin', RulesView.as_view(), name='rules'),
path('zadania', TestsView.as_view(), name='tests'),
path('wyniki', ScoresRedirect, name='scores'),
path('wyniki/<int:year>', ScoresView, name='scores'),
path('kontakt', ContactView.as_view(), name='contact'),
path('rejestracja', SignUpView.as_view(), name='signup'),
path('aktualnosci/', NewsView.as_view(), name='news'),
path('regulamin/', RulesView.as_view(), name='rules'),
path('zadania/', TestsView.as_view(), name='tests'),
path('wyniki/', ScoresRedirect, name='scores'),
path('wyniki/<int:year>/', ScoresView, name='scores'),
path('kontakt/', ContactView.as_view(), name='contact'),
path('rejestracja/', SignUpView.as_view(), name='signup'),
path('konto', UpdateAccountView, name='account'),
path('zgloszenie', SubmitStudentsView, name='submission')
path('konto/', UpdateAccountView, name='account'),
path('zgloszenie/', SubmitStudentsView, name='submission')
]