Documented related model descriptor class renames.

Renamed in e542e81b39.
This commit is contained in:
Tim Graham 2015-10-26 08:49:38 -04:00
parent 5d35b53c36
commit d6a9074783
1 changed files with 9 additions and 0 deletions

View File

@ -1138,6 +1138,15 @@ Miscellaneous
performance reasons. Mixed plans consist of a list of migrations where some performance reasons. Mixed plans consist of a list of migrations where some
are being applied and others are being unapplied. 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: .. _deprecated-features-1.9:
Features deprecated in 1.9 Features deprecated in 1.9