práce na urls, aby odpovídaly menu

This commit is contained in:
Kateřina Č 2020-06-17 22:46:45 +02:00
parent 3714d0aa57
commit 2882174ad5
10 changed files with 563 additions and 5 deletions

View file

@ -11,15 +11,12 @@ urlpatterns = [
# path('aktualni/temata/', views.TemataRozcestnikView),
# path('<int:rocnik>/t<int:tematko>/', views.TematkoView),
# REDIRECTy
path('jak-resit/', RedirectView.as_view(url='/co-je-MaM/jak-resit/')),
# Organizatori
path('co-je-MaM/organizatori/', views.CojemamOrganizatoriView.as_view(), name='organizatori'),
path('co-je-MaM/organizatori/organizovali/', views.CojemamOrganizatoriStariView.as_view(), name='stari_organizatori'),
# Archiv
path('archiv/cisla/', views.ArchivView.as_view()),
path('archiv/rocniky/', views.ArchivView.as_view()),
path('archiv/temata/', views.ArchivTemataView.as_view()),
path('rocnik/<int:rocnik>/', views.RocnikView.as_view(), name='seminar_rocnik'),

File diff suppressed because one or more lines are too long