Using javascript would be the way to go. Though you have two options on
how to know which car relates to which manufacturer.

1) AJAX: Query the server, which will return a list to be placed in the
select field.
2) Hard coded JS: Hard code it into a JS array that will then be used
to look up the fields and put it into the select box. If you go this
route, you can put the JS into <script> tags and use the template
engine to add elements (given a list), or in a rather neat way, have a
view that generates a JS file with the elements (no one says
views/templates have to be HTML).

Look it up on the net for examples, there are quite a few. Especially
related to country/provinces, but can easily be modified to work w/
django. If you go hard coded, try to use the template method, it will
save you a lot of time and allow a lot of flexibility, I only saw this
because a lot of the JS scripts you see out there for this do it by
hand.

Chris


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