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:
@@ -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
|
||||
^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user