From 974c4ffb8dcb1f86967d58ba47da1c011b7b253c Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Sun, 17 Feb 2008 21:18:21 -0500 Subject: typo --- bn_django/photos/urls.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'bn_django/photos') diff --git a/bn_django/photos/urls.py b/bn_django/photos/urls.py index 8bbb509..c3cce03 100644 --- a/bn_django/photos/urls.py +++ b/bn_django/photos/urls.py @@ -9,10 +9,9 @@ info_dict = { 'extra_context': { 'admin_url': ADMIN_URL, urlpatterns = patterns('django.views.generic.list_detail', (r'^$', 'object_list', dict(info_dict, queryset=Gallery.objects.all(), - paginate_by= 10, allow_empty= True)), + paginate_by=35, allow_empty= True)), (r'^(?P[\d\w-]+)/$', 'object_detail', - dict(info_dict, queryset=Gallery.objects.all(), - paginate_by=35,slug_field='slug')), + dict(info_dict, queryset=Gallery.objects.all(), 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