Something like this? http://www.djangosnippets.org/snippets/378/
On Aug 27, 9:48 am, Philipp Keller <[EMAIL PROTECTED]> wrote: > +1 > > I also looked into django.contrib.admin for that <Prev 1 2 3 .. 10 11 Next> > thing and wanted to reuse the code there but ended in coding it myself. > > greets > Philipp > > On Mon, Aug 27, 2007 at 08:40:45AM -0000, Iapain wrote: > > > Introduction: > > > Most of the time ObjectionPaginator server incomplete functionality > > because some one have to generate a page bar[<Prev 1 2 3 .. 10 11 > > 12 .. 18 19 20 Next >] in template. However some a kind of template > > tag would allow you to create a small tiny hack but not a generic one. > > I just looked inside django.contrib.admin and I think it is fairly > > possible and strongly believe Django should include it in its package. > > > Proposal: > > > To write a GenericPaginator class which should render page bar in > > template if a template tag is encountered. > > > -It Should form querystring > > -A decent Page bar > > -Multiple Object support in a single template > > > Just open for your opinion, in case if it comes out to be useful then > > I'll put a ticket on Trac. > > > Regards, > > Deepak Thukral --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---