Re: Proposal: Generic Pagination

2007-08-27 Thread Paul Davis
On 8/27/07, Iapain <[EMAIL PROTECTED]> wrote: > > > http://www.djangosnippets.org/snippets/378/ > Not really > > > http://www.djangosnippets.org/snippets/394/ > bit closer (should have used query string ?p=1 instead of /page/1) > I definitely wrestled with this. I ended up going without the

Re: Proposal: Generic Pagination

2007-08-27 Thread Iapain
> http://www.djangosnippets.org/snippets/378/ Not really > http://www.djangosnippets.org/snippets/394/ bit closer (should have used query string ?p=1 instead of /page/1) But still I prefer the way django.contrib.admin is doing. The core question is it should be included in django standard

Re: Proposal: Generic Pagination

2007-08-27 Thread Paul Davis
On 8/27/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Something like this? > > http://www.djangosnippets.org/snippets/378/ > I extended a different snippet to do what I wanted. Posted it just now at [1]. I do think that this needs to be looked at, for my first django project, this was one

Re: Proposal: Generic Pagination

2007-08-27 Thread [EMAIL PROTECTED]
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 > thing and wanted to reuse the code there but ended in coding it myself. > > greets > Philipp > > On Mon,

Re: Proposal: Generic Pagination

2007-08-27 Thread Philipp Keller
+1 I also looked into django.contrib.admin for that 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 -, Iapain wrote: > > Introduction: > > Most of the time ObjectionPaginator server incomplete functionality >

Proposal: Generic Pagination

2007-08-27 Thread Iapain
Introduction: Most of the time ObjectionPaginator server incomplete functionality because some one have to generate a page bar[] 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