Paginator.count
The total number of objects, across all pages.
Note
When determining the number of objects contained in object_list
, Paginator
will first try calling object_list.count()
. If object_list
has no count()
method, then Paginator
will fallback to using len(object_list)
. This allows objects, such as Django’s QuerySet
, to use a more efficient count()
method when available.
Please login to continue.