diff --git a/backend/api/serializers/submission_serializer.py b/backend/api/serializers/submission_serializer.py index 3aac8744..0b3d7b76 100644 --- a/backend/api/serializers/submission_serializer.py +++ b/backend/api/serializers/submission_serializer.py @@ -21,13 +21,13 @@ class Meta: class StructureCheckResultSerializer(serializers.ModelSerializer): class Meta: model = StructureCheckResult - fields = "__all__" + exclude = ["polymorphic_ctype"] class ExtraCheckResultSerializer(serializers.ModelSerializer): class Meta: model = ExtraCheckResult - fields = "__all__" + exclude = ["polymorphic_ctype"] class CheckResultPolymorphicSerializer(PolymorphicSerializer):