jmcclell / django-bootstrap-pagination

Django template tag for rendering Page objects as Bootstrap pagination HTML
MIT License
212 stars 83 forks source link

Added support for extra GET parameters #4

Closed wolph closed 12 years ago

wolph commented 12 years ago

When using GET parameters the pagination resets you to the main page every time.

This patch automatically uses request.GET to append extra query parameters. Alternatively you can pass a QueryDict with get parameters through the url_get_params parameter.

jmcclell commented 12 years ago

I merged this in locally. I'll push the changes out and update the distro once I test it tonight. Thanks!