Hi whiteinge, I downloaded the example you have posted on djangosnippets and put it in the "suggested" place. However, I could not get it to work. (I am very novice regarding jQuery).
Can you please give an example of what the list_filter be in the model, to get the filterting to work? Thanks, sanrio On Feb 4, 9:05 pm, [EMAIL PROTECTED] wrote: > Thanks a lot. I'll try it. > > sanrio > > On Feb 4, 1:18 am, Nathaniel Whiteinge <[EMAIL PROTECTED]> wrote: > > > 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 theAdminby 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 theAdminlist of > > filters is difficult to impossible right now with vanilla Django. (The > > newforms-adminbranch 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 -~----------~----~----~----~------~----~------~--~---