X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/babe7f68fcbb8f7e73f9b62d611715ca28b4c4e6..da0c65e6008cc1dbc88b05ed53553d70ec04e3fd:/apps/cover/urls.py 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'),