Fixed typo in docs/topics/db/models.txt.
This commit is contained in:
parent
c7b8d5d135
commit
b67502fb8d
|
@ -1121,7 +1121,7 @@ Specifying the parent link field
|
|||
|
||||
As mentioned, Django will automatically create a
|
||||
:class:`~django.db.models.OneToOneField` linking your child
|
||||
class back any non-abstract parent models. If you want to control the
|
||||
class back to any non-abstract parent models. If you want to control the
|
||||
name of the attribute linking back to the parent, you can create your
|
||||
own :class:`~django.db.models.OneToOneField` and set
|
||||
:attr:`parent_link=True <django.db.models.OneToOneField.parent_link>`
|
||||
|
|
Loading…
Reference in New Issue