X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/f3339efe0d7ffa1199a113108c0e2f6f6b07afe2..ab47432c3b01145efcad2c2de1c945e9a3a1822b:/apps/cover/urls.py?ds=sidebyside diff --git a/apps/cover/urls.py b/apps/cover/urls.py index 5e6ffc54..f1a48d35 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', @@ -10,5 +14,7 @@ urlpatterns = patterns('cover.views', url(r'^preview/(?P[^/]+)/(?P[^/]+)/(?P\d+)/$', 'preview', name='cover_preview'), - url(r'^flickr/$', 'flickr'), + url(r'^image/$', 'image_list', name='cover_image_list'), + url(r'^image/(?P\d+)/?$', 'image', name='cover_image'), + url(r'^add_image/$', 'add_image', name='cover_add_image'), )