I am a total beginner in Django but have long experience with Omnis. My data stores addresses in three tables named Suburb, (columns are id, name) Street, (columns are id, name, suburb_id) Property (columns are id, number, street_id)
I have the Admin all working well (as per the Poll tutorial) but need to extend it. I can "Add a property" and on that page I see a pick list for the street name. Can I get that pick list to show the suburb name also by somehow concatenating the street and suburb names together? In my models.py I have, for each class (using Street as an example): def__unicode__(self) return self.name I have not found an exception-free way of changing the last line above to involve the parent class. Any help would be greatly appreciated. Mike --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---