diff --git a/backend/degree/serializers.py b/backend/degree/serializers.py index 17dacd11..872213ab 100644 --- a/backend/degree/serializers.py +++ b/backend/degree/serializers.py @@ -71,7 +71,7 @@ class Meta: def to_representation(self, instance): data = super(RuleSerializer, self).to_representation(instance) - data.q = "" + data["q"] = "" return data