X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/0da29a22a23a90561df3d201a299f3007c84d524..886286a97f29204af33d0061ae51eb1b19ec0441:/apps/cover/urls.py diff --git a/apps/cover/urls.py b/apps/cover/urls.py index 24d7448a..1146f62d 100644 --- a/apps/cover/urls.py +++ b/apps/cover/urls.py @@ -1,5 +1,9 @@ -# -*- coding: utf-8 -from django.conf.urls.defaults import patterns, url +# -*- coding: utf-8 -*- +# +# 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 import patterns, url urlpatterns = patterns('cover.views', @@ -9,4 +13,9 @@ urlpatterns = patterns('cover.views', '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'), + url(r'^image/(?P\d+)/file/', 'image_file', name='cover_file'), + url(r'^add_image/$', 'add_image', name='cover_add_image'), )