Suggestion: document how to show content when list is exhausted
interDist opened this issue · 0 comments
interDist commented
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.