Puoi applicare icontains
al filtro come:
self.queryset = self.queryset.annotate(search=vector).filter(search__icontains=query)
Puoi applicare icontains
al filtro come:
self.queryset = self.queryset.annotate(search=vector).filter(search__icontains=query)