﻿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
7166	Need to document paging variables added to template context by object_list	mikechambers	nobody	"The django.views.generic.list_detail.object_list api should be documented to include which pagination name / value pairs are added the templates context.

http://www.djangoproject.com/documentation/generic_views/

APIs include:

The properties (from the code documentation are):

is_paginated : are the results paginated?

results_per_page : number of objects per page (if paginated)

has_next : is there a next page?

has_previous : is there a prev page?

page : the current page

next : the next page

previous : the previous page

pages : number of pages, total

hits : number of objects, total

last_on_page : the result number of the last of object in the object_list (1-indexed)

first_on_page : the result number of the first object in the object_list (1-indexed)

page_range : A list of the page numbers (1-indexed).


This information does not appear to be available in the docs anywhere which makes implementing paging more difficult than it should be.

"		closed	Generic views	dev		invalid	documentation		Unreviewed	1	0	0	0	0	0
