1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #21216 -- Allow OneToOneField reverse accessor to be hidden.

This commit is contained in:
Simon Charette
2013-08-20 01:52:32 -04:00
parent c4db7f075e
commit fa2e1371cd
4 changed files with 34 additions and 10 deletions

View File

@@ -289,6 +289,11 @@ Models
* Explicit :class:`~django.db.models.OneToOneField` for
:ref:`multi-table-inheritance` are now discovered in abstract classes.
* Is it now possible to avoid creating a backward relation for
:class:`~django.db.models.OneToOneField` by setting its
:attr:`~django.db.models.ForeignKey.related_name` to
`'+'` or ending it with `'+'`.
Signals
^^^^^^^