module documentation

Module for abstract serializer/unserializer base classes.
Constant DEFER​_FIELD Undocumented
Class ​Deserialization​Error Something bad happened during deserialization.
Class ​Deserialized​Object A deserialized model.
Class ​Deserializer Abstract base deserializer class.
Class ​M2​MDeserialization​Error Something bad happened during deserialization of a ManyToManyField.
Class ​Pickle​Serializer Simple wrapper around pickle to be used in signing.dumps()/loads() and cache backends.
Class ​Progress​Bar Undocumented
Class ​Serialization​Error Something bad happened during serialization.
Class ​Serializer Abstract serializer base class.
Class ​Serializer​Does​Not​Exist The requested serializer was not found.
Function build​_instance Build a model instance.
Function deserialize​_fk​_value Undocumented
Function deserialize​_m2m​_values Undocumented
DEFER_FIELD =

Undocumented

Value
object()
def build_instance(Model, data, db):

Build a model instance.

If the model instance doesn't have a primary key and the model supports natural keys, try to retrieve it from the database.

def deserialize_fk_value(field, field_value, using, handle_forward_references):

Undocumented

def deserialize_m2m_values(field, field_value, using, handle_forward_references):

Undocumented