this is my viewset:
class PollViewSet(viewsets.ReadOnlyModelViewSet): queryset = Poll.objects.all() serializer_class = PollSerializer() def get_query