Class ReverseManyToOneDescriptor

Accessor to the related objects manager on the reverse side of a many-to-one relation.

Declaration

class ReverseManyToOneDescriptor
source link

Documentation

In the example::

    class Child(Model):
        parent = ForeignKey(Parent, related_name='children')

``Parent.children`` is a ``ReverseManyToOneDescriptor`` instance.

Most of the implementation is delegated to a dynamically defined manager
class built by ``create_forward_many_to_many_manager()`` defined below.

Methods

Subclasses

Reexports