Ticket #6846: swap-start-end-indices.diff
File swap-start-end-indices.diff, 774 bytes (added by , 17 years ago) |
---|
-
usr/src/django/django/views/generic/list_detail.py
74 74 'page': page_obj.number, 75 75 'next': page_obj.next_page_number(), 76 76 'previous': page_obj.previous_page_number(), 77 'last_on_page': page_obj. start_index(),78 'first_on_page': page_obj. end_index(),77 'last_on_page': page_obj.end_index(), 78 'first_on_page': page_obj.start_index(), 79 79 'pages': paginator.num_pages, 80 80 'hits': paginator.count, 81 81 'page_range': paginator.page_range,