From 892f6210d1cd5fe782fca67476e1b13f9f5a8b47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Koci=C3=A1n?= Date: Mon, 25 Jan 2016 23:13:40 +0100 Subject: [PATCH] =?UTF-8?q?Fix:=20url:=20=C4=8D=C3=ADslo=20m=C5=AF=C5=BEe?= =?UTF-8?q?=20obsahovat=20poml=C4=8Dku?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seminar/urls.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/seminar/urls.py b/seminar/urls.py index 59de212b..446d6bc7 100644 --- a/seminar/urls.py +++ b/seminar/urls.py @@ -36,17 +36,17 @@ urlpatterns = [ url(r'^aesop-export/index.csv$', export.ExportIndexView.as_view(), name='seminar_export_index'), #### Stranky viditelne pouze pro orgy: - url(r'^cislo/(?P\d+).(?P\d+)/vysledkovka.tex$', + url(r'^cislo/(?P\d+).(?P[0-9-]+)/vysledkovka.tex$', staff_member_required(views.CisloVysledkovkaView.as_view()), name='seminar_cislo_vysledkovka'), - url(r'^cislo/(?P\d+).(?P\d+)/obalky.pdf$', + url(r'^cislo/(?P\d+).(?P[0-9-]+)/obalky.pdf$', staff_member_required(views.cisloObalkyView), name='seminar_cislo_obalky'), - url(r'^cislo/(?P\d+).(?P\d+)/tituly.tex$', + url(r'^cislo/(?P\d+).(?P[0-9-]+)/tituly.tex$', staff_member_required(views.TitulyView), name='seminar_cislo_titul'), - url(r'^stav$', + url(r'^stav$', staff_member_required(views.StavDatabazeView), name='stav_databaze'), - url(r'^cislo/(?P\d+).(?P\d+)/resitel_uloha.html$', - staff_member_required(views.resitelUlohaView),name='seminar_cislo_resitel_uloha'), - url(r'^soustredeni/(?P\d+)/obalky.pdf', - staff_member_required(views.soustredeniObalkyView),name='seminar_soustredeni_obalky'), + url(r'^cislo/(?P\d+).(?P[0-9-]+)/resitel_uloha.html$', + staff_member_required(views.resitelUlohaView), name='seminar_cislo_resitel_uloha'), + url(r'^soustredeni/(?P\d+)/obalky.pdf', + staff_member_required(views.soustredeniObalkyView), name='seminar_soustredeni_obalky'), ]