Browse Source

URLS: fix stringových jmen čísel

middleware_test
MaM Web user 4 years ago
parent
commit
fc7255c6f3
  1. 12
      seminar/urls.py

12
seminar/urls.py

@ -20,7 +20,7 @@ urlpatterns = [
url(r'^archiv/temata/$', views.ArchivTemataView.as_view()),
url(r'^rocnik/(?P<rocnik>\d+)/$', views.RocnikView.as_view(), name='seminar_rocnik'),
url(r'^cislo/(?P<rocnik>\d+)\.(?P<cislo>[0-9-]+)/$', views.CisloView.as_view(), name='seminar_cislo'),
url(r'^cislo/(?P<rocnik>\d+)\.(?P<cislo>.+)/$', views.CisloView.as_view(), name='seminar_cislo'),
url(r'^problem/(?P<pk>\d+)/$', views.ProblemView.as_view(), name='seminar_problem'),
url(r'^problem/(?P<pk>\d+)/(?P<prispevek>\d+)/$', views.PrispevekView.as_view(), name='seminar_problem_prispevek'),
@ -82,18 +82,18 @@ urlpatterns = [
staff_member_required(views.RocnikVysledkovkaView.as_view()),
name='seminar_cislo_vysledkovka'
),
url(r'^cislo/(?P<rocnik>\d+).(?P<cislo>[0-9-]+)/vysledkovka.tex$',
url(r'^cislo/(?P<rocnik>\d+).(?P<cislo>.+)/vysledkovka.tex$',
staff_member_required(views.CisloVysledkovkaView.as_view()), name='seminar_cislo_vysledkovka'),
url(r'^cislo/(?P<rocnik>\d+).(?P<cislo>[0-9-]+)/obalky.pdf$',
url(r'^cislo/(?P<rocnik>\d+).(?P<cislo>.+)/obalky.pdf$',
staff_member_required(views.cisloObalkyView), name='seminar_cislo_obalky'),
url(r'^cislo/(?P<rocnik>\d+).(?P<cislo>[0-9-]+)/tituly.tex$',
url(r'^cislo/(?P<rocnik>\d+).(?P<cislo>.+)/tituly.tex$',
staff_member_required(views.TitulyView), name='seminar_cislo_titul'),
url(r'^stav$',
staff_member_required(views.StavDatabazeView), name='stav_databaze'),
url(r'^cislo/(?P<rocnik>\d+).(?P<cislo>[0-9-]+)/obalkovani$',
url(r'^cislo/(?P<rocnik>\d+).(?P<cislo>.+)/obalkovani$',
staff_member_required(views.obalkovaniView), name='seminar_cislo_resitel_obalkovani'),
url(r'^cislo/(?P<rocnik>\d+).(?P<cislo>[0-9-]+)/tex-download.json$',
url(r'^cislo/(?P<rocnik>\d+).(?P<cislo>.+)/tex-download.json$',
staff_member_required(views.texDownloadView), name='seminar_tex_download'),
url(r'^soustredeni/(?P<soustredeni>\d+)/obalky.pdf',
staff_member_required(views.soustredeniObalkyView), name='seminar_soustredeni_obalky'),

Loading…
Cancel
Save