Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't do multiple pagination in Django Generic Views. #64

Open
ubehera opened this issue Mar 31, 2014 · 1 comment
Open

Can't do multiple pagination in Django Generic Views. #64

ubehera opened this issue Mar 31, 2014 · 1 comment

Comments

@ubehera
Copy link

ubehera commented Mar 31, 2014

There is no documentation on how to use a key:value pair for page_template and its corresponding querystring key.
The documentation only talks about using decorators, e.g.:
@page_template('myapp/entries_page.html')
@page_template('myapp/other_entries_page.html', key='other_entries_page')

But how to do this if using multiple pagination with Django Generic Views?
Is there a way to pass multiple "page_template" variables? If so, how to bind them to their respective keys?

@adriancarayol
Copy link

+1

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

No branches or pull requests

2 participants