﻿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
4809	supply a pagination templatetag that takes in a paginator object	Gary Wilson <gary.wilson@…>	nobody	"I've seen a few different pagination template tags out there, one example is PaginatorTag.  I think this is such a common thing that it should be added to Django.  There is a good bit of logic and template code that this sort of template tag needs, and it seems a bit un-DRY to have to add such a chunk of code everywhere you want a list of pages to appear.

I think with a few configuration options, we could make 90% of users happy.  Options like:
 * behavior -- [full] list / [surrounding] X pages / [current] page only
 * show first/last -- True / False
 * show previous/next -- True / False

The template tag might look something like:
{{{
#!xml
{% paginator <paginator_object> behavior full firstlast True prevnext True %}
}}}

This gets even better (for generic views) if #4805 is implemented."		closed	Template system	dev		duplicate			Design decision needed	0	0	0	0	0	0
