module documentation

Undocumented

Constant DEFERRED Undocumented
Class ​Deferred Undocumented
Class ​Model No class docstring; 0/3 instance variable, 0/1 class variable, 15/34 methods, 11/22 class methods documented
Class ​Model​Base Metaclass for all models.
Class ​Model​State Store model instance state.
Class ​Model​State​Fields​Cache​Descriptor Undocumented
Function ​_has​_contribute​_to​_class Undocumented
Function make​_foreign​_order​_accessors Undocumented
Function method​_get​_order Undocumented
Function method​_set​_order Undocumented
Function model​_unpickle Used to unpickle Model subclasses with deferred fields.
Function subclass​_exception Create exception subclass. Used by ModelBase below.
DEFERRED =

Undocumented

Value
Deferred()
def _has_contribute_to_class(value):

Undocumented

def make_foreign_order_accessors(model, related_model):

Undocumented

def method_get_order(self, ordered_obj):

Undocumented

def method_set_order(self, ordered_obj, id_list, using=None):

Undocumented

def model_unpickle(model_id):
Used to unpickle Model subclasses with deferred fields.
def subclass_exception(name, bases, module, attached_to):

Create exception subclass. Used by ModelBase below.

The exception is created in a way that allows it to be pickled, assuming that the returned exception class will be added as an attribute to the 'attached_to' class.