From fc7255c6f3eb2a96384565da5c11b323ae5c5612 Mon Sep 17 00:00:00 2001 From: MaM Web user Date: Sun, 10 Jan 2021 10:30:59 +0100 Subject: [PATCH] =?UTF-8?q?URLS:=20fix=20stringov=C3=BDch=20jmen=20=C4=8D?= =?UTF-8?q?=C3=ADsel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seminar/urls.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/seminar/urls.py b/seminar/urls.py index 512745b1..ff712dc1 100644 --- a/seminar/urls.py +++ b/seminar/urls.py @@ -20,7 +20,7 @@ urlpatterns = [ url(r'^archiv/temata/$', views.ArchivTemataView.as_view()), url(r'^rocnik/(?P\d+)/$', views.RocnikView.as_view(), name='seminar_rocnik'), - url(r'^cislo/(?P\d+)\.(?P[0-9-]+)/$', views.CisloView.as_view(), name='seminar_cislo'), + url(r'^cislo/(?P\d+)\.(?P.+)/$', views.CisloView.as_view(), name='seminar_cislo'), url(r'^problem/(?P\d+)/$', views.ProblemView.as_view(), name='seminar_problem'), url(r'^problem/(?P\d+)/(?P\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\d+).(?P[0-9-]+)/vysledkovka.tex$', + url(r'^cislo/(?P\d+).(?P.+)/vysledkovka.tex$', staff_member_required(views.CisloVysledkovkaView.as_view()), name='seminar_cislo_vysledkovka'), - url(r'^cislo/(?P\d+).(?P[0-9-]+)/obalky.pdf$', + url(r'^cislo/(?P\d+).(?P.+)/obalky.pdf$', staff_member_required(views.cisloObalkyView), name='seminar_cislo_obalky'), - url(r'^cislo/(?P\d+).(?P[0-9-]+)/tituly.tex$', + url(r'^cislo/(?P\d+).(?P.+)/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\d+).(?P[0-9-]+)/obalkovani$', + url(r'^cislo/(?P\d+).(?P.+)/obalkovani$', staff_member_required(views.obalkovaniView), name='seminar_cislo_resitel_obalkovani'), - url(r'^cislo/(?P\d+).(?P[0-9-]+)/tex-download.json$', + url(r'^cislo/(?P\d+).(?P.+)/tex-download.json$', staff_member_required(views.texDownloadView), name='seminar_tex_download'), url(r'^soustredeni/(?P\d+)/obalky.pdf', staff_member_required(views.soustredeniObalkyView), name='seminar_soustredeni_obalky'),