On Feb 3, 7:56 pm, [EMAIL PROTECTED] wrote:
> Is there a way to select both 'A' and 'B' under affiliation and get
> both Tom and Diane?

You can use non-standard filters in the Admin by manually typing the
in the URL. For example:
http://yoursite/admin/yourapp/student/?school__in=1,2

Unfortunately, getting that link to show up in the Admin list of
filters is difficult to impossible right now with vanilla Django. (The
newforms-admin branch makes this much easier, I believe.)

I've been using a JavaScript solution to accomplish the same effect
that you're after. Your question inspired me to clean it up a bit and
post it to Django Snippets. It might have a bug or two, but I tested
it with your use-case and it worked just fine.

http://www.djangosnippets.org/snippets/581/

- whiteinge
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to