Commits

Alexandre Macabies  committed 089cd64 Draft

Added remaining items count in show_more

  • Participants
  • Parent commits 7784de4

Comments (0)

Files changed (1)

File 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 {}