Ticket #13689: paginator_patch_13316.diff
File paginator_patch_13316.diff, 575 bytes (added by , 14 years ago) |
---|
-
django/core/paginator.py
12 12 class Paginator(object): 13 13 def __init__(self, object_list, per_page, orphans=0, allow_empty_first_page=True): 14 14 self.object_list = object_list 15 self.per_page = per_page15 self.per_page = int(per_page) 16 16 self.orphans = orphans 17 17 self.allow_empty_first_page = allow_empty_first_page 18 18 self._num_pages = self._count = None