diff --git a/api/serializers/news.py b/api/serializers/news.py index e79b5bb..388e7ed 100644 --- a/api/serializers/news.py +++ b/api/serializers/news.py @@ -5,6 +5,7 @@ class NewsSerializer(serializers.ModelSerializer): banner_image = serializers.StringRelatedField(source="banner_image.name") + id = serializers.StringRelatedField() class Meta: model = News