0
0
mirror of https://github.com/django/django.git synced 2024-11-29 22:56:46 +01:00

Fixed #17999 -- Added a 'See also' paragraph to OneToOneField doc section.

Thanks creecocde for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17822 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Ramiro Morales 2012-03-29 15:25:27 +00:00
parent 9ddbed6f15
commit 782c1a770e

View File

@ -555,8 +555,9 @@ can be made; see :ref:`the model field reference <ref-onetoone>` for details.
.. seealso::
:class:`~django.db.models.OneToOneField` fields also accept one optional argument
described in the :ref:`model field reference <ref-onetoone>`.
:class:`~django.db.models.OneToOneField` fields also accept one specific,
optional ``parent_link`` argument described in the :ref:`model field
reference <ref-onetoone>`.
:class:`~django.db.models.OneToOneField` classes used to automatically become
the primary key on a model. This is no longer true (although you can manually