oprava "/" v korektury/urls.py
This commit is contained in:
parent
8151d421aa
commit
8d34d78b81
1 changed files with 1 additions and 1 deletions
|
@ -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<pdf>\d+)$', permission_required('is_staff')(views.KorekturyView.as_view()), name='korektury'),
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue