Thanks Rajesh

That's exactly what I was looking for.



2008/12/16 Rajesh Dhawan <rajesh.dha...@gmail.com>

>
> > I'd like to know everything there is to know about using the
> > filter_horizontal method when displaying admin backend choices.
> >
> > I want to re-engineer it.
> >
> > I was wondering if anyone has done anything like this and could give me a
> > couple of pointers to get started.
> >
> > Any assistance as always is greatly appreciated.
>
> You might want to start by diving into the source code (hey, it's
> called *Open Source* Software for a reason):
>
> /django/contrib/admin/*
>
> Here are files of interest under that path:
>
> - media/js/Select*.js <--- This is where the actual Javascript for the
> filters lives.
> - widgets.py (Look at the class FilteredSelectMultiple there)
> - options.py (Just search for filter_horizontal to find the handful of
> places where you'll see how this is all wired together)
>
> -Rajesh D
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to