aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django
diff options
context:
space:
mode:
Diffstat (limited to 'bn_django')
-rw-r--r--bn_django/photos/urls.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bn_django/photos/urls.py b/bn_django/photos/urls.py
index ffb7007..8bbb509 100644
--- a/bn_django/photos/urls.py
+++ b/bn_django/photos/urls.py
@@ -11,7 +11,8 @@ urlpatterns = patterns('django.views.generic.list_detail',
dict(info_dict, queryset=Gallery.objects.all(),
paginate_by= 10, allow_empty= True)),
(r'^(?P<slug>[\d\w-]+)/$', 'object_detail',
- dict(info_dict, queryset=Gallery.objects.all(), slug_field='slug')),
+ dict(info_dict, queryset=Gallery.objects.all(),
+ paginate_by=35,slug_field='slug')),
(r'^(?P<object_id>\d+)/$', 'object_detail',
dict(info_dict, queryset=Gallery.objects.all())),
(r'^detail/(?P<object_id>\d+)/$', 'object_detail',