ModelAdmin list_filter questions
I am using the latest Django 1.2 release. Can someone please confirm
if the ModelAdmin's list_filter supports these capabilities:
1) Multi-Value-Select: How to allow multiple values to be selected for
the SAME filter field - i.e. I want to display all records with a
"status" field of : "Active" OR "Pending" - but it doesnt let me
select/highlight more than one status value.
2) Not-Empty/Non-Null Filter: How to allow filtering based on: non-
empty or non-null values - i.e. I want to display all records where
"status" field is not null.
3) Custom Filter Definitions: Can we define any custom filters that
would appear on the same filter list - that the user can dynamically
turn on/off. For example - can I define a filter for: [ field1 in
('A', 'B', 'C') OR field2 like '%xyz%' ] ?
Any insight on how to expose such functionality will be appreciated.
--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home