If you use a ManyToManyField, Django creates the join table for you. In
the rare case that you need to store additional data on the join table, you
can create your own and use ManyToManyField.through
On Fri, May 13, 2016 at 5:00 AM, Bruce Whealton <
futurewavewebdevelopm...@gmail.com> wrote:
>
You are absolutely right. So, I just need to figure out how to change things
in the models.py. I'm not sure if django
needs a third model or not.
Thanks for helping where something should have been easier for me,
Bruce
--
You received this message because you are subscribed to the Google Group
This is a many to many relation. One contact can have multiple relations,
according to your text, but clearly, more than one contact can be family,
etc.
And if, instead, each contact can have only one relation, then the
ForeignKey goes in the Resource (contact) model, not the Relationship
(catego
Hello all,
I think that my problem here is Django specific and not
necessarily a reflection on
my understanding of relational databases (hopefully).
I did post about this previously and thought I had figured out what to do.
I have a Django app that stores information on Contacts.
4 matches
Mail list logo