Fix patternmatch v url čísla v2

This commit is contained in:
Jonas Havelka 2021-01-10 10:39:12 +01:00
parent 11d665487f
commit 8c64fb5a24

View file

@ -90,17 +90,17 @@ urlpatterns = [
name='seminar_rocnik_vysledkovka'
),
path(
'cislo/<int:rocnik>.<int:cislo>/vysledkovka.tex',
'cislo/<int:rocnik>.<str:cislo>/vysledkovka.tex',
org_required(views.CisloVysledkovkaView.as_view()),
name='seminar_cislo_vysledkovka'
),
path(
'cislo/<int:rocnik>.<int:cislo>/obalky.pdf',
'cislo/<int:rocnik>.<str:cislo>/obalky.pdf',
org_required(views.cisloObalkyView),
name='seminar_cislo_obalky'
),
path(
'cislo/<int:rocnik>.<int:cislo>/tituly.tex',
'cislo/<int:rocnik>.<str:cislo>/tituly.tex',
org_required(views.TitulyView),
name='seminar_cislo_titul'
),
@ -110,7 +110,7 @@ urlpatterns = [
name='stav_databaze'
),
path(
'cislo/<int:rocnik>.<int:cislo>/obalkovani',
'cislo/<int:rocnik>.<str:cislo>/obalkovani',
org_required(views.ObalkovaniView.as_view()),
name='seminar_cislo_resitel_obalkovani'
),