mirror of https://github.com/django/django.git
[1.8.x] Fixed typo in docs/topics/db/models.txt.
Backport of b67502fb8d
from master
This commit is contained in:
parent
dd0e7f5301
commit
7648ceb06b
|
@ -1112,7 +1112,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