moshthepitt / django-pagination

Automatically exported from code.google.com/p/django-pagination
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

InfinitePaginator should re-define start_index #73

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The default django Page class defines start_index to have a special case when 
self.paginator.count == 0.  This will fail in the InfinitePaginator, which 
needs to redefine start_index without that special case.

See trivial patch attached.

Original issue reported on code.google.com by andrew.a...@gmail.com on 14 Sep 2010 at 6:38

Attachments:

GoogleCodeExporter commented 9 years ago
Oops.  The patch is actually reversed, but you get the idea.

Original comment by andrew.a...@gmail.com on 15 Sep 2010 at 4:03