@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