Options¶
Doc Brown uses a class similar to the Meta
class in django models. Listed
below are all the options available.
fields¶
Which fields should be revisioned. Will take all fields if not defined or set
to '__all__'
.
soft_deletion¶
Controls whether instances actually get deleted or not when delete()
is
called. If set to True
a is_deleted
boolean field will be added to the
model and this set instead of deleting the instance.