Web M&M
https://mam.matfyz.cz
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
76 lines
2.6 KiB
76 lines
2.6 KiB
4 years ago
|
from django.urls import path, include, re_path
|
||
3 years ago
|
from . import views
|
||
3 months ago
|
from seminar.utils import org_required
|
||
9 years ago
|
|
||
9 years ago
|
urlpatterns = [
|
||
5 years ago
|
# path('aktualni/temata/', views.TemataRozcestnikView),
|
||
|
# path('<int:rocnik>/t<int:tematko>/', views.TematkoView),
|
||
5 years ago
|
|
||
6 years ago
|
# Archiv
|
||
4 years ago
|
path('archiv/rocniky/', views.ArchivView.as_view(), name="seminar_archiv_rocniky"),
|
||
|
path('archiv/temata/', views.ArchivTemataView.as_view(), name="seminar_archiv_temata"),
|
||
10 years ago
|
|
||
5 years ago
|
path('rocnik/<int:rocnik>/', views.RocnikView.as_view(), name='seminar_rocnik'),
|
||
4 years ago
|
path('cislo/<int:rocnik>.<str:cislo>/', views.CisloView.as_view(), name='seminar_cislo'),
|
||
3 years ago
|
path('problem/<int:pk>/', views.problemView, name='seminar_problem'),
|
||
10 years ago
|
|
||
6 years ago
|
# Zadani
|
||
4 years ago
|
# path('aktualni/zadani/', views.AktualniZadaniView.as_view(), name='seminar_aktualni_zadani'), # Dočasně ad-hoc jednoduchá věc.
|
||
4 years ago
|
path('aktualni/zadani/', views.AktualniZadaniView, name='seminar_aktualni_zadani'),
|
||
|
#path('aktualni/temata/', views.ZadaniTemataView, name='seminar_temata'),
|
||
4 years ago
|
path('aktualni/vysledkova-listina/', views.ZadaniAktualniVysledkovkaView, name='seminar_aktualni_vysledky'),
|
||
4 years ago
|
path('aktualni/rocnik/', views.AktualniRocnikRedirectView.as_view(), name='seminar_aktualni_rocnik'),
|
||
10 years ago
|
|
||
6 years ago
|
# Clanky
|
||
4 years ago
|
path('archiv/clanky/', views.ClankyResitelView.as_view(), name='clanky_resitel'),
|
||
5 years ago
|
#path('clanky/org/', views.ClankyOrganizatorView.as_view(), name='clanky_organizator'),
|
||
9 years ago
|
|
||
6 years ago
|
# Stranky viditelne pouze pro orgy:
|
||
5 years ago
|
path(
|
||
4 years ago
|
'rocnik/<int:rocnik>/vysledkovka.tex',
|
||
|
org_required(views.RocnikVysledkovkaView.as_view()),
|
||
|
name='seminar_rocnik_vysledkovka'
|
||
5 years ago
|
),
|
||
3 years ago
|
path(
|
||
|
'rocnik/<int:rocnik>/resitele.csv',
|
||
|
org_required(views.resiteleRocnikuCsvExportView),
|
||
|
name='seminar_rocnik_resitele_csv'
|
||
|
),
|
||
2 years ago
|
path(
|
||
|
'rocnik/<int:rocnik>/tituly.tex',
|
||
|
org_required(views.TitulyViewRocnik),
|
||
|
name='seminar_rocnik_titul'
|
||
|
),
|
||
2 years ago
|
path(
|
||
|
'rocnik/<int:rocnik>/posledni_vysledkovka.tex',
|
||
|
org_required(views.PosledniCisloVysledkovkaView.as_view()),
|
||
|
name='seminar_rocnik_posledni_vysledkovka'
|
||
|
),
|
||
4 years ago
|
path(
|
||
4 years ago
|
'cislo/<int:rocnik>.<str:cislo>/vysledkovka.tex',
|
||
4 years ago
|
org_required(views.CisloVysledkovkaView.as_view()),
|
||
|
name='seminar_cislo_vysledkovka'
|
||
|
),
|
||
|
path(
|
||
4 years ago
|
'cislo/<int:rocnik>.<str:cislo>/obalky.pdf',
|
||
4 years ago
|
org_required(views.cisloObalkyView),
|
||
|
name='seminar_cislo_obalky'
|
||
|
),
|
||
|
path(
|
||
4 years ago
|
'cislo/<int:rocnik>.<str:cislo>/tituly.tex',
|
||
4 years ago
|
org_required(views.TitulyView),
|
||
|
name='seminar_cislo_titul'
|
||
|
),
|
||
4 years ago
|
path(
|
||
|
'cislo/<int:trocnik>.<str:tcislo>/odmeny/<int:frocnik>.<str:fcislo>/',
|
||
|
org_required(views.OdmenyView.as_view()),
|
||
|
name="seminar_archiv_odmeny"),
|
||
4 years ago
|
|
||
2 years ago
|
# Dočasné & neodladěné:
|
||
|
path(
|
||
|
'hidden/hromadne_pridani',
|
||
|
org_required(views.HromadnePridaniView.as_view()),
|
||
|
name="hromadne_pridani"
|
||
|
),
|
||
9 years ago
|
]
|