Base classes for Dirty Models
dirty_models.base.
BaseData
Bases: object
object
Base class for data inside dirty model.
get_parent
Returns parent model
get_read_only
Returns whether model could be modified or not
is_locked
Returns whether model is locked
lock
Lock model to avoid modification on read only fields
set_parent
Sets parent model
set_read_only
Sets whether model could be modified or not
unlock
Unlock model to be able to write even it’s read only
Unlocker
Unlocker instances helps to lock and unlock models easily