diff options
author | Bryan Newbold <bnewbold@charm.mit.edu> | 2008-02-17 21:09:54 -0500 |
---|---|---|
committer | Bryan Newbold <bnewbold@charm.mit.edu> | 2008-02-17 21:09:54 -0500 |
commit | ed272807d3a7546c03b7a8a03b53411540662c76 (patch) | |
tree | dad34c5ff42fd48b315f81432ea2bbd6e9a93142 /bn_django/photos | |
parent | f240080cefc05855c3836c284cc2f619117d1f3d (diff) | |
download | bnewnet-ed272807d3a7546c03b7a8a03b53411540662c76.tar.gz bnewnet-ed272807d3a7546c03b7a8a03b53411540662c76.zip |
extended photo set list length
Diffstat (limited to 'bn_django/photos')
-rw-r--r-- | bn_django/photos/urls.py | 3 |
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', |