Ticket #7091: paginator_patch.diff

File paginator_patch.diff, 462 bytes (added by nicholasdsj@…, 16 years ago)
  • paginator.py

     
    3636    def _get_count(self):
    3737        "Returns the total number of objects, across all pages."
    3838        if self._count is None:
    39             self._count = len(self.object_list)
     39            self._count = self.object_list.count()
    4040        return self._count
    4141    count = property(_get_count)
    4242
Back to Top