#10995: Improve paginator to account for very large page_range's
---------------------------+------------------------------------------------
 Reporter:  swilly         |       Owner:  nobody    
   Status:  new            |   Milestone:            
Component:  Uncategorized  |     Version:  1.0       
 Keywords:                 |       Stage:  Unreviewed
Has_patch:  0              |  
---------------------------+------------------------------------------------
 I think it would be beneficial to add some "digg-style" features to the
 Django paginator. Currently, if a user has a large number of pages
 returned by the 'page_range' template tag for generic views, etc., there
 is no way of reducing the page_range returned in a sane way without
 extending the current Paginator. Someone provided a snippet that exhibits
 this functionality here: [http://www.djangosnippets.org/snippets/628/]

 Ideally, I think would want to have something like +/- 5 pages from the
 current page and Previous/Next buttons before and after the current range
 when inside a large set. Alternatively, it could display +/- 5 pages from
 the current page and also 3 from the beginning/end next to First/Last
 buttons.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/10995>
Django <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