mirror of https://github.com/django/django.git
[1.9.x] Documented related model descriptor class renames.
Renamed ine542e81b39
. Backport ofd6a9074783
from master
This commit is contained in:
parent
bb1b2251ef
commit
1a6258c090
|
@ -1135,6 +1135,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