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
1 changed files with 3 additions and 2 deletions

View File

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