Export to GitHub

django-pagination - issue #79

Add an easier view of setting the desired page from the view


Posted on Mar 14, 2012 by Happy Hippo

Currently the pagination code only looks for the context['request'].page variable to decide which page to show. The only way to programmatically force another page to display is the following:

get = request.GET.copy() get['page'] = pagenum request.GET = get

Before adding the request object to the context. This should be made easier, for example by having an extra optional parameter to autopaginate template tag.

Status: New

Labels:
Type-Defect Priority-Medium