Use the object_list.total_size to get the total number of Members.
commit7493183f1dc75634b7823bf12ec81b3e0d717ada
authorAbhilash Raj <raj.abhilash1@gmail.com>
Sat, 27 Feb 2021 02:11:01 +0000 (27 02:11 +0000)
committerAbhilash Raj <raj.abhilash1@gmail.com>
Sat, 27 Feb 2021 02:11:01 +0000 (27 02:11 +0000)
tree358f7c16bedf570fbe69ba21bc2da98753ee6fab
parentfe6a1ee2dd7ac21db72d128ae07f1a83f23f542a
Use the object_list.total_size to get the total number of Members.

Using the .paginator.count() makes another API call to get the
total size of the object list. We can instead get that from the
page already fetched.
src/postorius/doc/news.rst
src/postorius/views/list.py