You can include javascript files to admin pages using the 'js' field in
class Admin in your model. Using javascript, you could presumably hook
into the onChange of the first select box and do your filtering.

HTH,

Chris Dary
Web Developer
Carthage College
http://www.carthage.edu/webdev/

Seth Buntin wrote:
> I was wondering if anyone has found a way to filter a select box
> depending on the value of another select box.  This is really easy with
> javascript but I want to use the admin module.  Any suggestions?


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

Reply via email to