class BookSerializer(serializers.ModelSerializer):
    authors = serializer.IntegerField()


class Meta:
    model = Book
fields = 'id', 'title', 'authors'
how to add annotate data in django-rest-framework queryset responses?