1👍
✅
Your issue is in your serializer. By default Django will use Model._base_manager
to fetch related objects and not your custom manager. You need to specify in your nested ResourceRelatedField field which manager you would like to use
class AuthorSerializer(BaseSerializer):
books = ResourceRelatedField(
queryset=Book.objects,
many=True,
read_only=True
)
...
Source:stackexchange.com