Fix patternmatch v url čísla v2
This commit is contained in:
parent
11d665487f
commit
8c64fb5a24
1 changed files with 4 additions and 4 deletions
|
@ -90,17 +90,17 @@ urlpatterns = [
|
||||||
name='seminar_rocnik_vysledkovka'
|
name='seminar_rocnik_vysledkovka'
|
||||||
),
|
),
|
||||||
path(
|
path(
|
||||||
'cislo/<int:rocnik>.<int:cislo>/vysledkovka.tex',
|
'cislo/<int:rocnik>.<str:cislo>/vysledkovka.tex',
|
||||||
org_required(views.CisloVysledkovkaView.as_view()),
|
org_required(views.CisloVysledkovkaView.as_view()),
|
||||||
name='seminar_cislo_vysledkovka'
|
name='seminar_cislo_vysledkovka'
|
||||||
),
|
),
|
||||||
path(
|
path(
|
||||||
'cislo/<int:rocnik>.<int:cislo>/obalky.pdf',
|
'cislo/<int:rocnik>.<str:cislo>/obalky.pdf',
|
||||||
org_required(views.cisloObalkyView),
|
org_required(views.cisloObalkyView),
|
||||||
name='seminar_cislo_obalky'
|
name='seminar_cislo_obalky'
|
||||||
),
|
),
|
||||||
path(
|
path(
|
||||||
'cislo/<int:rocnik>.<int:cislo>/tituly.tex',
|
'cislo/<int:rocnik>.<str:cislo>/tituly.tex',
|
||||||
org_required(views.TitulyView),
|
org_required(views.TitulyView),
|
||||||
name='seminar_cislo_titul'
|
name='seminar_cislo_titul'
|
||||||
),
|
),
|
||||||
|
@ -110,7 +110,7 @@ urlpatterns = [
|
||||||
name='stav_databaze'
|
name='stav_databaze'
|
||||||
),
|
),
|
||||||
path(
|
path(
|
||||||
'cislo/<int:rocnik>.<int:cislo>/obalkovani',
|
'cislo/<int:rocnik>.<str:cislo>/obalkovani',
|
||||||
org_required(views.ObalkovaniView.as_view()),
|
org_required(views.ObalkovaniView.as_view()),
|
||||||
name='seminar_cislo_resitel_obalkovani'
|
name='seminar_cislo_resitel_obalkovani'
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue