1
0
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:
Tomasz Anielak 2015-10-31 12:38:58 +01:00 committed by Tim Graham
parent c7b8d5d135
commit b67502fb8d

View File

@ -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>`