﻿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
4805	Pass paginator object in generic view's context instead of several variables related to the paginator	Gary Wilson <gary.wilson@…>	nobody	"Currently, there is only one generic view with pagination capabilities (`object_list`), but it is being asked for in the date-based generic views (#2367).  I propose that instead of passing 11 different context variables related to pagination, that we pass just the paginator object and let the templates use what they need.

This would provide the following benefits:
 * Paginator methods would only be called when needed instead of called to fill the 11 different context variables that might not get used in the template anyway.
 * We are not repeating ourselves in the generic views.  Instead of 11 context variables for each of the generic views and documentation of each, we have just one variable and have a Paginator documentation page that the generic view documentation sections could link to.
 * Future enhancements would not require context variable and documentation changes for each generic view.  They keep passing the paginator object as a whole."		closed	Core (Other)	dev		fixed			Design decision needed	1	1	1	1	0	0
