I'm working on my first Django app and wondering how to work with a <select> list in a complicated model situation when editing a "Part".
Background: Sites belong in Countries; each site has many Parts; each Part has a unique selection list "Types" based on the Country. Part has a foreign key relationship to Site, which has a foreign key relationship to Country. The autogenerated Part.type form field shows all types, but needs to be filtered by site.country. Is there a way of doing this? Rory -- Rory Campbell-Lange <[EMAIL PROTECTED]> <www.campbell-lange.net> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---

