1👍
✅
In your model serializer add depth = 1
class Meta:
depth = 1
you will achieve the desired result
Source:stackexchange.com
1👍
In your model serializer add depth = 1
class Meta:
depth = 1
you will achieve the desired result