﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
22731	page number variable update in docs for paginator	joeyliechty@…	nobody	"https://docs.djangoproject.com/en/dev/topics/pagination/#using-paginator-in-a-view

In this chunk of the documentation, perhaps it would be beneficial to also update the page number variable.
Something like this:

{{{
page = request.GET.get('page')
try:
    contacts = paginator.page(page)
    except PageNotAnInteger:
        # If page is not an integer, deliver first page.
        contacts = paginator.page(1)
        page = 1
    except EmptyPage:
        # If page is out of range (e.g. 9999), deliver last page of results.
        contacts = paginator.page(paginator.num_pages)
        page = paginator.num_pages
}}}"	Cleanup/optimization	closed	Documentation	1.6	Normal	wontfix	paginator		Unreviewed	0	0	0	0	0	0
