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
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
2 matches
Mail list logo