Currently, I have a series of models which look something like this:
<code>
class make(model.Models):
name = models.CharField()
class model(model.Models):
name = models.CharField()
make = models.ForeignKey(Make)
class claim(models.Model):
make = models.ForeignKey(Make)
model = models.ForeignKey(Model)
In my model form, I would like to dynamically filter the list of
models by the selected make. What is the best way to accomplish this?
Is there a way to do this in ajax so that the field is updated as the
user selects the make?
Thank you
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---