mirror of
https://github.com/django/django.git
synced 2025-06-05 11:39:13 +00:00
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
|
As mentioned, Django will automatically create a
|
||||||
:class:`~django.db.models.OneToOneField` linking your child
|
: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
|
name of the attribute linking back to the parent, you can create your
|
||||||
own :class:`~django.db.models.OneToOneField` and set
|
own :class:`~django.db.models.OneToOneField` and set
|
||||||
:attr:`parent_link=True <django.db.models.OneToOneField.parent_link>`
|
:attr:`parent_link=True <django.db.models.OneToOneField.parent_link>`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user