diff --git a/aleksis/core/data_checks.py b/aleksis/core/data_checks.py index 47194ece7a30b3bdf6a4fa6fc9624fd9851d2be9..caed821d6633f3c2374f278af67032b7bdda41e9 100644 --- a/aleksis/core/data_checks.py +++ b/aleksis/core/data_checks.py @@ -202,7 +202,7 @@ class DataCheck: ct = ContentType.objects.get_for_model(instance) result, __ = DataCheckResult.objects.get_or_create( - check=cls.name, content_type=ct, object_id=instance.id + data_check=cls.name, content_type=ct, object_id=instance.id ) # Track all existing problems (for deleting old results)