LogMixin¶ class djmvc.views.log.LogMixin[source]¶ Bases: object Write LogEntry rows when djmvc_history is installed. log_action_flag¶ LogEntry action constant, or False to skip logging. Type: int | bool get_log_message()[source]¶ Short label stored in the log entry. get_log_extra()[source]¶ Extra metadata (view class name, request path) for the log entry. get_log_objects()[source]¶ Model instances to attach to the log entry. log_insert()[source]¶ Write log entries for get_log_objects() when history is enabled.