summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Siraut <csiraut@entrouvert.com>2019-05-02 09:51:52 (GMT)
committerChristophe Siraut <csiraut@entrouvert.com>2019-05-02 09:51:52 (GMT)
commitd54c2309140cca3829d3a1e33b3c83538bb29ad3 (patch)
treecab836acc762a4af3b92deeb59f3a450cf4c24bc
parenta81117147c27651993704965e31eec83d18e95e8 (diff)
downloadcombo-d54c2309140cca3829d3a1e33b3c83538bb29ad3.zip
combo-d54c2309140cca3829d3a1e33b3c83538bb29ad3.tar.gz
combo-d54c2309140cca3829d3a1e33b3c83538bb29ad3.tar.bz2
gallery: rename manager url patterns variable to match other modules
-rw-r--r--combo/apps/gallery/__init__.py2
-rw-r--r--combo/apps/gallery/urls.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/combo/apps/gallery/__init__.py b/combo/apps/gallery/__init__.py
index 03f997d..8c8ef1e 100644
--- a/combo/apps/gallery/__init__.py
+++ b/combo/apps/gallery/__init__.py
@@ -21,6 +21,6 @@ class AppConfig(django.apps.AppConfig):
def get_after_manager_urls(self):
from . import urls
- return urls.manager_urlpatterns
+ return urls.gallery_manager_urls
default_app_config = 'combo.apps.gallery.AppConfig'
diff --git a/combo/apps/gallery/urls.py b/combo/apps/gallery/urls.py
index 5fcfa05..7e91b9b 100644
--- a/combo/apps/gallery/urls.py
+++ b/combo/apps/gallery/urls.py
@@ -18,7 +18,7 @@ from django.conf.urls import url
from . import views
-manager_urlpatterns = [
+gallery_manager_urls = [
url('^gallery/(?P<gallery_pk>\w+)/images/add/$', views.image_add,
name='combo-gallery-image-add'),
url('^gallery/(?P<gallery_pk>\w+)/order$', views.image_order,