From 8d34d78b81a465f2501039ab4749c47692c602f7 Mon Sep 17 00:00:00 2001 From: "Bc. Petr Pecha" Date: Fri, 25 Dec 2015 16:00:19 +0100 Subject: [PATCH] oprava "/" v korektury/urls.py --- korektury/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/korektury/urls.py b/korektury/urls.py index c2218035..28533b5c 100644 --- a/korektury/urls.py +++ b/korektury/urls.py @@ -4,6 +4,6 @@ from django.contrib.auth.decorators import permission_required from . import views urlpatterns = patterns('', - url(r'^korektury$',permission_required('is_staff')(views.KorekturyListView.as_view()),name='korektury-list'), + url(r'^korektury/$',permission_required('is_staff')(views.KorekturyListView.as_view()),name='korektury-list'), url(r'^korektury/(?P\d+)$', permission_required('is_staff')(views.KorekturyView.as_view()), name='korektury'), )