puchar/app/urls.py

18 lines
777 B
Python
Raw Normal View History

2021-08-30 02:29:20 +02:00
from django.urls import path
from .views import SignUpView, SubmitStudentsView, UpdateAccountView, ScoresRedirect, HomeView, NewsView, ScoresView, RulesView, TestsView, ContactView
urlpatterns = [
path('', HomeView.as_view(), name='home'),
2021-09-20 21:27:00 +02:00
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'),
2021-08-30 02:29:20 +02:00
2021-09-20 21:27:00 +02:00
path('konto/', UpdateAccountView, name='account'),
path('zgloszenie/', SubmitStudentsView, name='submission')
2021-08-30 02:29:20 +02:00
]