diff --git a/apps/permission/models.py b/apps/permission/models.py index 9136d30d..3d395a75 100644 --- a/apps/permission/models.py +++ b/apps/permission/models.py @@ -57,9 +57,9 @@ class InstancedPermission: # Force insertion, no data verification, no trigger obj._force_save = True - Model.save(obj, force_insert=True) # We don't want log anything obj._no_log = True + Model.save(obj, force_insert=True) ret = self.model.model_class().objects.filter(self.query & Q(pk=0)).exists() # Delete testing object obj._force_delete = True