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 [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-users?hl=en
-~----------~----~----~----~------~----~------~--~---