On Fri, Jun 1, 2012 at 8:58 PM, Bill Freeman <ke1g...@gmail.com> wrote:

> This isn't quite OneToOne since the ends of the relation need not both
> exist.


An answer cannot exist without the question
The following question cannot exist without the previous answer,
but there is the case where the object Question is the "First" so the
relation "parent" has to be nullable.

Can exist 2 answers to the same question?
Can exist 2 followers questions to the same answer?

the OneToOne say "no this is not possible"
the ForeignKey say "yes"

let Jak decide on


PS
The self relationship for the questions is only a possibility, we can
modelling also a cyclic relationship, but in my opinion say that in our
domain there is a list of followers questions is more understandable and
you have the same results

Cheers
:-)

-- 
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.

Reply via email to