X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/babe7f68fcbb8f7e73f9b62d611715ca28b4c4e6..d5ffd31f4dca5ab0144fae542e048934bafa7110:/apps/cover/urls.py?ds=sidebyside diff --git a/apps/cover/urls.py b/apps/cover/urls.py index f1a48d35..31d0c65a 100644 --- a/apps/cover/urls.py +++ b/apps/cover/urls.py @@ -6,13 +6,12 @@ from django.conf.urls import patterns, url -urlpatterns = patterns('cover.views', +urlpatterns = patterns( + 'cover.views', url(r'^preview/$', 'preview_from_xml', name='cover_preview'), url(r'^preview/(?P[^/]+)/$', 'preview', name='cover_preview'), - url(r'^preview/(?P[^/]+)/(?P[^/]+)/$', - 'preview', name='cover_preview'), - url(r'^preview/(?P[^/]+)/(?P[^/]+)/(?P\d+)/$', - 'preview', name='cover_preview'), + url(r'^preview/(?P[^/]+)/(?P[^/]+)/$', 'preview', name='cover_preview'), + url(r'^preview/(?P[^/]+)/(?P[^/]+)/(?P\d+)/$', 'preview', name='cover_preview'), url(r'^image/$', 'image_list', name='cover_image_list'), url(r'^image/(?P\d+)/?$', 'image', name='cover_image'),