Re: Help with m2m relationships through intermediary tables

2009-01-14 Thread felix
open a shell with ./manage.py shell from models import * fetch one of your Authors (one that has a job already) dir(author) that will list all the ways you can poke at it. always useful you should see some way to access the AuthorNewspaper directly from the Author object to display a whole p

Help with m2m relationships through intermediary tables

2009-01-12 Thread Asif
I've created a few models that have m2m relationships with intermediary tables. I'm storing some extra data in the fields of the intermediary tables. For example, I have a model called Author and model called Newspaper that are related to each other through a model called AuthorNewspaper. In Au