On Wed, Feb 18, 2009 at 2:46 PM, May <adles...@gmail.com> wrote: > > Hello Karen, > > Here are my views and models: > > http://dpaste.com/122204/ > > http://dpaste.com/122224/ > > > The manytomany table is actually a tertiary table. I was just trying > to use django terms, so people would understand what type of table. > > Thanks for your help! > > So Contact doesn't have a foreign key to Institution but rather there's another many to many sort of table that pairs Contacts with Institutions. Which means I don't know what you are hoping to get from:
{{Contact.institutionname|safe}} There are potentially many institutions associated with any given Contact instance -- how are you expecting to come up with just one institution name for a Contact? Karen --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---