#6997: Paginator broken for one element and allow_empty_first_page=False
-------------------------------------+--------------------------------------
Reporter: framos | Owner: simeon
Status: assigned | Milestone:
Component: Core framework | Version: SVN
Resolution: | Keywords: paginator
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------------+--------------------------------------
Changes (by simeon):
* owner: siudesign => simeon
* status: new => assigned
* needs_tests: 1 => 0
Comment:
Added tests which fail against svn head but suceed with paginator2.diff
applied. The patch also needed to handle the orphan parameter so I rewrote
the method... In the first patch, consider the case where orphans = 2 and
self.count = 1. self.num_pages would be set to 1 even though based on the
orphans setting we should have an empty page...
--
Ticket URL: <http://code.djangoproject.com/ticket/6997#comment:6>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---