From ed272807d3a7546c03b7a8a03b53411540662c76 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Sun, 17 Feb 2008 21:09:54 -0500 Subject: extended photo set list length --- bn_django/photos/urls.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bn_django') 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[\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\d+)/$', 'object_detail', dict(info_dict, queryset=Gallery.objects.all())), (r'^detail/(?P\d+)/$', 'object_detail', -- cgit v1.2.3