On 12 April 2013 10:47, Matt Schinckel <[email protected]> wrote:
>
> But a partner relationship is not at all related to a parent-child
> relationship.

Ah! But if you look at my original spec, I had the desire to track
partners - I know it's not part of the parent-child relationship, but
I did have the desire to track it.

Having said that, I've given it some thought, and I don't think I need
to track the partnerships anymore :)

> Person
>  - date-of-birth
>  - date-of-death
>  - mother (fk-> Person)
>  - father (fk -> Person)
>  - adoptive_parent (m2m -> Person, maybe use a through table
> to get start and finish dates).

I think having the fields mother and father is too prescriptive. I'm
going to stick with just having a single parent (m2m->person) field.

> Or, you could use the parent m2m with a through table to add
> the relevant data. birth/adoptive parent, etc.
>
> And, the partner m2m could also use a through table to store
> start and finish times of the relationship.
>
> Family relationships are hard...

Sure Are!

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to