Skip to content

Per page#36

Open
maksymx wants to merge 14 commits intoericflo:masterfrom
maksymx:master
Open

Per page#36
maksymx wants to merge 14 commits intoericflo:masterfrom
maksymx:master

Conversation

@maksymx
Copy link
Copy Markdown

@maksymx maksymx commented Aug 15, 2012

Added an option, when user can choose a number of objects per page. Developer can add this option like inclusion tags {% perpageselect 10 20 30 %} and {% perpageanchors 10 20 30 %} where "10 20 30" are numbers of objects perpage (it can be absolutely divert numbers). I also use a django session for it

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be:

@register.inclusion_tag('pagination/perpageselect.html', takes_context=True)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants