Class ForwardManyToOneDescriptor

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

Declaration

class ForwardManyToOneDescriptor
source link

Documentation

In the example::

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

``Child.parent`` is a ``ForwardManyToOneDescriptor`` instance.

Methods

Subclasses

Reexports