|
|
|
from django.urls import path
|
|
|
|
from . import views
|
|
|
|
from personalni.utils import org_required
|
|
|
|
import various.views
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
# Organizatori
|
|
|
|
path('o-nas/organizatori/', views.CojemamOrganizatoriView.as_view(), name='organizatori'),
|
|
|
|
path('o-nas/organizatori/organizovali/', views.CojemamOrganizatoriStariView.as_view(), name='stari_organizatori'),
|
|
|
|
|
|
|
|
|
|
|
|
# Zadani
|
|
|
|
# path('aktualni/zadani/', views.AktualniZadaniView.as_view(), name='seminar_aktualni_zadani'), # Dočasně ad-hoc jednoduchá věc.
|
|
|
|
path('aktualni/zadani/', views.AktualniZadaniView, name='seminar_aktualni_zadani'),
|
|
|
|
#path('aktualni/temata/', views.ZadaniTemataView, name='seminar_temata'),
|
|
|
|
# path('aktualni/temata/', views.TemataRozcestnikView),
|
|
|
|
path('aktualni/vysledkova-listina/', views.ZadaniAktualniVysledkovkaView, name='seminar_aktualni_vysledky'),
|
|
|
|
path('aktualni/rocnik/', views.AktualniRocnikRedirectView.as_view(), name='seminar_aktualni_rocnik'),
|
|
|
|
|
|
|
|
path(
|
|
|
|
'stav',
|
|
|
|
org_required(various.views.StavDatabazeView),
|
|
|
|
name='stav_databaze'
|
|
|
|
),
|
|
|
|
|
|
|
|
path('', views.TitulniStranaView.as_view(), name='titulni_strana'),
|
|
|
|
path('jak-resit/', views.JakResitView.as_view(), name='jak_resit'),
|
|
|
|
path('stare-novinky/', views.StareNovinkyView.as_view(), name='stare_novinky'),
|
|
|
|
|
|
|
|
# Dočasné & neodladěné:
|
|
|
|
path(
|
|
|
|
'hidden/hromadne_pridani',
|
|
|
|
org_required(views.HromadnePridaniView.as_view()),
|
|
|
|
name="hromadne_pridani"
|
|
|
|
),
|
|
|
|
]
|