Hi All,
This question might have been answered so may times, but I am unable to
glean the information I am looking for from the 260 odd entries that
turn up while searching the mailing-list archives. So here I ask again
#my models
class entity(models.Model):
name = models.Charfield(....)
class address(models.Model):
entity = models.FK(entity) #entites can
have multiple addresses
street_address = models.TextField(...)
class despatch(models.Model):
sent_to = models.FK(entity, related_name = 'receiver')
address = models.FK(address)
sent_by = models.FK(entity, related_name = 'sender')
Now when I show a form to enter 'despatch' data, after the user selects
the sent_to 'sent_to' address, I want to show only the addresses of that
entity in the 'address' selection. How do I do it?
Note : I don't know java scripts, AJAX etc yet. If the above can be
achieved only using these, then a small code snippet will help me
start
Thanks in advance
Regards Ganesh
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---