This is just an idea... didn't try this. Could you not use HttpRedirect in your url conf to redirect the standard view of that models admin with the default filter value? This is not the most convenient way, but it should work...
On 26 Jun., 14:25, lee <[EMAIL PROTECTED]> wrote: > Guys, > > Is there a way of setting the default value for a filter in the admin > site? > > Class Account(models.model): > isClosed = models.BooleanField(blank=True) > name = models.CharField(core=True, max_length=255,unique=True) > > class Admin: > list_filter = ['isClosed'] > > On the admin page, I want the default value for the 'isClosed' field > to be 'no', not 'All'. > > Thanks. > > - Lee. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@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-users?hl=en -~----------~----~----~----~------~----~------~--~---