summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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,