#2367: [patch] pagination for date based generic views
-----------------------------------+----------------------------------------
   Reporter:  [EMAIL PROTECTED]  |                Owner:  jacob                 
     Status:  new                  |            Component:  Generic views       
  
    Version:  SVN                  |           Resolution:                      
  
   Keywords:                       |                Stage:  Design decision 
needed
  Has_patch:  1                    |           Needs_docs:  0                   
  
Needs_tests:  0                    |   Needs_better_patch:  1                   
  
-----------------------------------+----------------------------------------
Comment (by paolo <[EMAIL PROTECTED]>):

 Searching Django's related groups for more info about pagination I saw
 there have been a lot of discussions about "how Paginator should be" (to
 cite one, http://groups.google.com/group/django-
 users/browse_frm/thread/6963a1fdb6473352/d4622e25fc54bade). Even so,
 Paginator class hasn't changed in time (except for orphans handling),
 probably because features that actually provides are ok for the most of
 people. Thus I'd prefer not to change Paginator's code (that's working
 well btw).
 
 In the light of what said, the latest patch
 (generic_views_pagination.diff) adds a new function at paginator module
 leaving Paginator class untouched. Then, it changes date_based and
 list_detail generic views to using this function to retrieve the paginated
 queryset and update the context with pagination variables.
 
 Any chance anyone would comment and/or test the patch?
 
 Thanks.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/2367#comment:8>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to