class documentation

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

Method __get__ Retrieve and caches the value from the datastore on the first lookup. Return the cached value.
Method __init__ Undocumented
Instance Variable field Undocumented
Method _check_parent_chain Check if the field value can be fetched from a parent field already loaded in the instance. This can be done if the to-be fetched field is a primary key field.
def __get__(self, instance, cls=None): (source)

Retrieve and caches the value from the datastore on the first lookup. Return the cached value.

def __init__(self, field): (source)

Undocumented

def _check_parent_chain(self, instance): (source)

Check if the field value can be fetched from a parent field already loaded in the instance. This can be done if the to-be fetched field is a primary key field.