Ticket #7091: paginator_patch.diff
File paginator_patch.diff, 462 bytes (added by , 17 years ago) |
---|
-
paginator.py
36 36 def _get_count(self): 37 37 "Returns the total number of objects, across all pages." 38 38 if self._count is None: 39 self._count = len(self.object_list)39 self._count = self.object_list.count() 40 40 return self._count 41 41 count = property(_get_count) 42 42