Hi,

I'm trying to get some filter for my admin page on a ManyToManyField.
When I add it to the list_filter of the model admin, the filtering
works like a charm. But this is not what I want: I'd like to invert
the results, i.e. I want that only those list entries remain that do
NOT have this external key in their ManyToManyField. How can I do
this? I guess I could subclass ChoicesFilterSpec and register it, but
I do not really know how to invert the selection...


I hope I explained sufficiently well what I want. Thanks in advance
for your help.

Greetings,

Thorsten

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to