summaryrefslogtreecommitdiff
path: root/apps/photos/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'apps/photos/urls.py')
-rw-r--r--apps/photos/urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/photos/urls.py b/apps/photos/urls.py
index 44b4869..b53b343 100644
--- a/apps/photos/urls.py
+++ b/apps/photos/urls.py
@@ -5,7 +5,7 @@ from django.views.generic.simple import redirect_to
urlpatterns = patterns('',
- (r'(?P<slug>[-\w]+)/(?P<page>\d+)/$', 'photos.views.gallery_list_by_area'),
+ (r'galleries/(?P<slug>[-\w]+)/$', 'photos.views.gallery'),
(r'(?P<page>\d+)/$', 'photos.views.gallery_list'),
(r'(?P<slug>[-\w]+)/$', redirect_to, {'url': '/photos/%(slug)s/1/'}),
(r'', redirect_to, {'url': '/photos/1/'}),