Usage of OneToOneField in Django
I am very confused about the usage of the OnetoOneField
. I thought it was for a case where a given record can only have 1 reference to another table. For example, a Child has 1 Parent.
I am very confused about the usage of the OnetoOneField
. I thought it was for a case where a given record can only have 1 reference to another table. For example, a Child has 1 Parent.