django-pure-pagination icon indicating copy to clipboard operation
django-pure-pagination copied to clipboard

Modification to allow multiple pagination objects on same page

Open pipermerriam opened this issue 12 years ago • 0 comments

Currently, the page parameter produces conflicts when you have multiple pagination objects on the same page.

This patch provides an extra keyword argument to the Page object initialization and the paginator.page() call allowing you to customize the name of the query parameter used for generating the querystring within the page object.

All fo the tests pass, and this should not cause any backwards compatibility problems since the new argument is optional.

pipermerriam avatar Mar 26 '12 18:03 pipermerriam