Commits

Alexandre Macabies committed 089cd64 Draft

Added remaining items count in show_more

Comments (0)

Files changed (1)

endless_pagination/templatetags/endless.py

             'loading': loading,
             'label': label,
             'request': request,
+            'remaining': page.paginator.count - page.end_index(),
         }
     # no next page, nothing to see
     return {}