On Feb 7, 3:06 pm, [EMAIL PROTECTED] wrote:
> Can you please give an example of what the list_filter be
> in the model, to get the filterting to work?

Is it just not showing up after the existing list_filter options?

Assuming your current list_filter looks like:
list_filter = ('affiliation', 'publication', 'research',)

Then at the bottom of that JavaScript file, where the usage examples
are (before the very last closing brackets), add something like the
following:
customFilter('By affiliation', 'school__in=A,B', 'School A or B');

The first argument needs to be the exact text of the list_filter
heading (the H3 element) that you're trying to hook on to.

Email me off-list if that didn't get it working. I'm happy to help.
- 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