Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Add ability to specify template other than pagination/pagination.html #1

Open
bjunix opened this Issue · 4 comments

2 participants

@bjunix

It would be nice to specify different templates for pagination, so there is not only one site-wide pagination template.

I added the new template_tag {% paginate_with_template 'template_name' %} in my fork to accomplish this. You can find it here:

http://github.com/bjunix/django-pagination/commit/6a9d4d8fa7a49bc86260b679a816423ba6123027

Maybe this is also helpful for others.

@bjunix

Any opinions on this? Would love to see this sort of functionality upstream...

@sunoano

What would be the added benefit? Why not use pagination.html and alter it so it fits? Can you elaborate on the added benefits?

@bjunix

I would like to use different templates for pagination, so I do not have one side-wide or app-wide pagination template only

@sunoano

agreed, that sounds like a good enough reason to add this ability; we now need a patch ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.