You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

10 lines
552 B

from django.conf.urls import * # NOQA
from django.conf.urls import patterns, url
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/(?P<pdf>\d+)/$', permission_required('is_staff')(views.KorekturyView.as_view()), name='korektury'),
url(r'^korektury/help/', permission_required('is_staff')(views.KorekturyHelpView.as_view()), name='korektury-help'),
)