2👍
✅
Did you try to add the option depth
to the Meta class? Maybe like this:
class DiscountSerializer(serializers.ModelSerializer):
class Meta:
model = Discount
fields = ('discount_description', 'discount_start', 'discount_end', 'discount_title', 'discount_category', 'discount_store')
depth = 1
Source:stackexchange.com