From 947f38c0b92d967a3e16061ec067da4e21a51ae2 Mon Sep 17 00:00:00 2001 From: Stefano Zacchiroli Date: Tue, 15 Jan 2013 23:04:37 +0100 Subject: [PATCH] collection browsing: remove pagination support rationale: we do not expect hundreds of collection (and it was likely broken anyhow) thanks to Elrond der Elbenfuerst for pointing this out --- mediagoblin/user_pages/views.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/mediagoblin/user_pages/views.py b/mediagoblin/user_pages/views.py index 6ff07818..9fbe953b 100644 --- a/mediagoblin/user_pages/views.py +++ b/mediagoblin/user_pages/views.py @@ -338,20 +338,16 @@ def user_collection(request, page, url_user=None): @active_user_from_url -@uses_pagination -def user_collections(request, page, url_user=None): +def user_collections(request, url_user=None): """A User-defined Collection""" collections = Collection.query.filter_by( get_creator=url_user) - pagination = Pagination(page, collections) - return render_to_response( request, 'mediagoblin/user_pages/collections.html', {'user': url_user, - 'collections': collections, - 'pagination': pagination}) + 'collections': collections}) @get_user_collection_item -- 2.25.1