From 7431bb9d1f8fbb8bbe094f7194b413c792ca4cef Mon Sep 17 00:00:00 2001 From: Aneta Date: Sun, 26 Jul 2015 13:32:22 +0200 Subject: [PATCH] Oprava url pro tvoreni odkazu na cisla, aby to fungovalo pro cislo 7-8. Anet --- seminar/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seminar/urls.py b/seminar/urls.py index f066a0b3..4890a6ba 100644 --- a/seminar/urls.py +++ b/seminar/urls.py @@ -8,7 +8,7 @@ urlpatterns = patterns('', url(r'^archiv/cisla/$', views.CislaView.as_view()), url(r'^rocnik/(?P\d+)/$', views.RocnikView.as_view(), name='seminar_rocnik'), - url(r'^cislo/(?P\d+)\.(?P\d+)/$', views.CisloView.as_view(), name='seminar_cislo'), + url(r'^cislo/(?P\d+)\.(?P[0-9-]+)/$', views.CisloView.as_view(), name='seminar_cislo'), url(r'^problem/(?P\d+)/$', views.ProblemView.as_view(), name='seminar_problem'), url(r'^soustredeni/$', views.SoustredeniListView.as_view(),