11👍
✅
Need to use serializers.ModelSerializer
…
It needs to look like:
class ProductSerializer(serializers.ModelSerializer):
...
👤Weit
Source:stackexchange.com