def create_log_entry_model(self, model):

        attrs = self.copy_fields(model)
        attrs.update(self.get_logging_fields(model))
        attrs.update(Meta = type(str('Meta'), (), self.get_meta_options(model)))
        name = str('%sAuditLogEntry'%model._meta.object_name)
        return type(name, (models.Model,), attrs)
Creates a log entry model that will be associated with
dataset/ETHPy150Open Atomidata/django-audit-log/audit_log/models/managers.py/AuditLog.create_log_entry_model