code: 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)
docs: Creates a log entry model that will be associated with
          the model provided.