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
In my case, I wanted to display a text “no more results available” when the ‘endless’ list was exhausted. Going through the source code of the show_more template tag, I discovered that I could do it in the following manner in my template:
{% if not endless.page.has_next %}
...content...
{% endif %}
I think it will be useful to document this in the “Twitter-style Pagination” section of the documentation.
The text was updated successfully, but these errors were encountered:
In my case, I wanted to display a text “no more results available” when the ‘endless’ list was exhausted. Going through the source code of the
show_more
template tag, I discovered that I could do it in the following manner in my template:I think it will be useful to document this in the “Twitter-style Pagination” section of the documentation.
The text was updated successfully, but these errors were encountered: