Hi Marek, I wrote a patch a while back that implemented a 'number per page widget' for admin. It never really went anywhere as it needed a better patch and some tests, which I didn't have the time to supply. I don't know if you would find this useful, let me know if you like and I can send you the patch. Regards Ben
On 30/04/07, Marek Kubica <[EMAIL PROTECTED]> wrote: > > > Hi all, > > I created a new ticket with the need to disable pagination in the admin > object listing altogether. The current default value for pagination is 100 > objects per page, which can of course be extended to sys.maxint and is > surely enough but this leaves an odd feeling. In the ticket I put up > different proposals how to solve that: > > - list_per_page could accept 0 or None as "do not paginate" > - same as above, but rename this setting - list_per_page = 0 seems > strange > - create a setting like disable_pagination > > As far as I see, the oldform-admin is now finishing it's life, so there > isn't probably much sense in patching that. A patch (which I volunteer to > write) would need to go against newforms-admin, maybe even before the > merge to trunk, so backwards incompatible changes would hit with one > merge. > > The ticket: http://code.djangoproject.com/ticket/4027 > > So, what do you think about this? I'll be happy to hear your ideas. > > regards, > Marek > > P.S.: I'll try to write a patch for #4027, so expect many questions ;) > > > > > -- Regards, Ben Ford [EMAIL PROTECTED] +628111880346 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" 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-developers?hl=en -~----------~----~----~----~------~----~------~--~---
