You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: