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

Pagination article should have a clear example of how to access the variable #1237

Closed
colinkiama opened this issue Nov 12, 2020 · 2 comments
Closed
Labels
done in pr Already done in a PR

Comments

@colinkiama
Copy link

Documentation issue

Summary

Documentation is unclear. To access the paginator, you simply use paginator instead of object.paginator.

Proposed solution

Some sort of clarification in the pagination article. It's confusing when you consider how to do other things like accessing pages section.pages etc.

@Keats
Copy link
Collaborator

Keats commented Nov 25, 2020

How would you change it? Some suggestions?

@colinkiama
Copy link
Author

By adding a simple code snippet that uses paginator variable.

Maybe a snippet that iterates through paginator.pages and renders each page’s title in a section template?

@Keats Keats added the done in pr Already done in a PR label Jan 9, 2021
@Keats Keats closed this as completed in 63e1759 Jan 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
done in pr Already done in a PR
Projects
None yet
Development

No branches or pull requests

2 participants