mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
Documented related model descriptor class renames.
Renamed in e542e81b39
.
This commit is contained in:
parent
5d35b53c36
commit
d6a9074783
@ -1138,6 +1138,15 @@ Miscellaneous
|
||||
performance reasons. Mixed plans consist of a list of migrations where some
|
||||
are being applied and others are being unapplied.
|
||||
|
||||
* The related model object descriptor classes in
|
||||
``django.db.models.fields.related`` (private API) are moved from the
|
||||
``related`` module to ``related_descriptors`` and renamed as follows:
|
||||
|
||||
* ``ReverseSingleRelatedObjectDescriptor`` is ``ForwardManyToOneDescriptor``
|
||||
* ``SingleRelatedObjectDescriptor`` is ``ReverseOneToOneDescriptor``
|
||||
* ``ForeignRelatedObjectsDescriptor`` is ``ReverseManyToOneDescriptor``
|
||||
* ``ManyRelatedObjectsDescriptor`` is ``ManyToManyDescriptor``
|
||||
|
||||
.. _deprecated-features-1.9:
|
||||
|
||||
Features deprecated in 1.9
|
||||
|
Loading…
Reference in New Issue
Block a user