loggable.models module¶
-
class
Loggable(log_type='database', max_entries=1000)[source]¶ Bases:
objectLoggable manager that allows to add the funcionality of saving logs on the model instances.
-
get_meta_options(model)[source]¶ Gets a dictionary with the fields that will be added to the Meta inner class of the loggable model.
-