16👍
✅
ProductSerializer is inheriting from serializers.ModelField
instead of
serializers.ModelSerializer
.
Source:stackexchange.com