From 85d778fb83b14e35fba455de1a476c7c9eff5a5c Mon Sep 17 00:00:00 2001 From: through-your-tears Date: Sun, 7 Apr 2024 13:52:29 +0300 Subject: [PATCH] ... --- src/organizations/serializers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/organizations/serializers.py b/src/organizations/serializers.py index 635f2ed..ef08b5c 100644 --- a/src/organizations/serializers.py +++ b/src/organizations/serializers.py @@ -25,6 +25,7 @@ class LocationSerializer(serializers.ModelSerializer): class OrganizationListSerializer(serializers.ModelSerializer): location = LocationSerializer() images = serializers.StringRelatedField(source='organization_images', many=True) + category = serializers.StringRelatedField() class Meta: model = Organization