Skip to content
Snippets Groups Projects
Verified Commit 8c73c49d authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Fix data check registration

parent 9dd680ff
No related branches found
No related tags found
1 merge request!1128Resolve "DataCheckResult uses invalid attribute name `check`"
Pipeline #103351 passed with warnings
...@@ -202,7 +202,7 @@ class DataCheck: ...@@ -202,7 +202,7 @@ class DataCheck:
ct = ContentType.objects.get_for_model(instance) ct = ContentType.objects.get_for_model(instance)
result, __ = DataCheckResult.objects.get_or_create( 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) # Track all existing problems (for deleting old results)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment