Hi,

I'm relatively new to Django and still finding my feet so forgive me
if this is a simple question, but I've had no luck finding help
elsewhere.

I have a table of manufacturers and a table of models, and what I'd
like to do is have the two drop down boxes in the admin section ...

a) link to these tables so that a user can only choose one of the
options (I have been able to do this using choices and manually typing
them in tuples in the model definition, but haven't found out how to
do it using another model)

b) link the second drop down so that only models related to the chosen
manufacturer in the first drop down are available.

Can anyone tell me if this is possible, and if so perhaps give
guidance on how I'd go about implementing it in both the admin section
and also through a view/template that needs to be displayed to the end
user.

Thanks in advance.

-Mic

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