We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://github.com/jamespacileo/django-pure-pagination
in this page, "Usage example"
try: page = request.GET.get('page', 1) except PageNotAnInteger: page = 1
It's not going to cause an anomaly here.
I think this should be done in the following examples
page = request.GET.get('page', 1) p = Paginator(all_article, 8) try: all_article_page = p.page(number=page) except PageNotAnInteger: # page = 1 all_article_page = p.page(number=1) except EmptyPage: # page = p.num_pages all_article_page = p.page(number=p.num_pages)
The text was updated successfully, but these errors were encountered:
This is exactly what I've noticed. Hope this fix will be merged soon.
Sorry, something went wrong.
great, this helps to fix my error. Tks.
No branches or pull requests
https://github.com/jamespacileo/django-pure-pagination
in this page, "Usage example"
It's not going to cause an anomaly here.
I think this should be done in the following examples
The text was updated successfully, but these errors were encountered: