mirror of https://github.com/django/django.git
[1.9.x] Fixed typo in docs/topics/db/models.txt.
Backport of b67502fb8d
from master
This commit is contained in:
parent
a09a889a57
commit
f1859d9100
|
@ -1122,7 +1122,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…
Reference in New Issue