diff options
author | Bryan Newbold <bnewbold@charm.mit.edu> | 2008-02-17 21:18:21 -0500 |
---|---|---|
committer | Bryan Newbold <bnewbold@charm.mit.edu> | 2008-02-17 21:18:21 -0500 |
commit | 974c4ffb8dcb1f86967d58ba47da1c011b7b253c (patch) | |
tree | a2db9a3fbb03cc6c7ad1b9890361cf6926b5380e | |
parent | ed272807d3a7546c03b7a8a03b53411540662c76 (diff) | |
download | bnewnet-974c4ffb8dcb1f86967d58ba47da1c011b7b253c.tar.gz bnewnet-974c4ffb8dcb1f86967d58ba47da1c011b7b253c.zip |
typo
-rw-r--r-- | bn_django/photos/urls.py | 5 |
1 files changed, 2 insertions, 3 deletions
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<slug>[\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<object_id>\d+)/$', 'object_detail', dict(info_dict, queryset=Gallery.objects.all())), (r'^detail/(?P<object_id>\d+)/$', 'object_detail', |