X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/05f67adb27390c7a9cf214e83550d3bbca88c8f2..0cd571520ee3f3a1dfaed2f5340961e39a941ad1:/apps/cover/urls.py?ds=inline diff --git a/apps/cover/urls.py b/apps/cover/urls.py index 2337d47a..1146f62d 100644 --- a/apps/cover/urls.py +++ b/apps/cover/urls.py @@ -3,7 +3,7 @@ # This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later. # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. # -from django.conf.urls.defaults import patterns, url +from django.conf.urls import patterns, url urlpatterns = patterns('cover.views', @@ -16,5 +16,6 @@ urlpatterns = patterns('cover.views', url(r'^image/$', 'image_list', name='cover_image_list'), url(r'^image/(?P\d+)/?$', 'image', name='cover_image'), + url(r'^image/(?P\d+)/file/', 'image_file', name='cover_file'), url(r'^add_image/$', 'add_image', name='cover_add_image'), )