18👍
Solved. Was a typo. In serializers.py the class should be using “serializers.ModelSerializer” and not “serializers.Serializer”.
Source:stackexchange.com
18👍
Solved. Was a typo. In serializers.py the class should be using “serializers.ModelSerializer” and not “serializers.Serializer”.