#2093: [patch] Better paginator
-----------------------------+----------------------------------------------
Reporter: SmileyChris | Owner: adrian
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Core framework | Version:
Severity: minor | Resolution:
Keywords: paginator patch |
-----------------------------+----------------------------------------------
Comment (by SmileyChris):
It's definately not necessary and is a seperate enhancement, but I have
found it useful.
When you have a batch of objects, it is a lot easier dealing with a
PaginatorPage object than a Paginator object in the template. I mean why
should the template have to know which page it's on when getting the
correct batch? It shouldn't - therefore this helps keep that logic in the
view while still providing all the useful Paginator methods to the
template author.
--
Ticket URL: <http://code.djangoproject.com/ticket/2093>
Django <http://code.djangoproject.org/>
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
-~----------~----~----~----~------~----~------~--~---