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
The pagination of articles are not working correctly.
The page seems not to be changing.
In the template, articles.html
{% if page_obj.has_next %} <a class="infinite-more-link" href="?page={{ articles.next_page_number }}">More</a> {% endif %}
The correct is to take the page number from the page_obj.
Like this:
{% if page_obj.has_next %} <a class="infinite-more-link" href="?page={{ page_obj.next_page_number }}">More</a> {% endif %}
The text was updated successfully, but these errors were encountered:
did u still fix this??
Sorry, something went wrong.
No branches or pull requests
The pagination of articles are not working correctly.
The page seems not to be changing.
In the template, articles.html
The correct is to take the page number from the page_obj.
Like this:
The text was updated successfully, but these errors were encountered: