summaryrefslogtreecommitdiff
path: root/app/photos/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/photos/urls.py')
-rw-r--r--app/photos/urls.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/photos/urls.py b/app/photos/urls.py
index 0c7b752..67375da 100644
--- a/app/photos/urls.py
+++ b/app/photos/urls.py
@@ -16,6 +16,15 @@ urlpatterns = [
name="private"
),
url(
+ r'galleries/private/(?P<page>\d+)/$',
+ views.PrivateGalleryList.as_view(),
+ name="private_list"
+ ),
+ url(
+ r'galleries/private/$',
+ RedirectView.as_view(url="/photos/galleries/private/1/", permanent=False)
+ ),
+ url(
r'galleries/(?P<slug>[-\w]+)/$',
views.gallery,
),