Class ReverseOneToOneDescriptor

Accessor to the related object on the reverse side of a one-to-one relation.

Declaration

class ReverseOneToOneDescriptor
source link

Documentation

In the example::

    class Restaurant(Model):
        place = OneToOneField(Place, related_name='restaurant')

``Place.restaurant`` is a ``ReverseOneToOneDescriptor`` instance.

Methods

Reexports