from rest_framework.mixins import ListModelMixin
from drf_haystack.generics import HaystackGenericAPIView

from api_v2.serializers.search import TopicSearchResultsSerializer
from api_v2.models.Topic import Topic

# from api_v2.pagination import Pagination


class TopicSearchView(ListModelMixin, HaystackGenericAPIView):
    index_models = [Topic]
    serializer_class = TopicSearchResultsSerializer
    # pagination_class = Pagination

    def get(self, request, *args, **kwargs):
        return self.list(request, *args, **kwargs)

@@ -210,52 +210,8 @@
 ic%0A%0A
-# from api_v2.pagination import Pagination%0A%0A
 %0Acla
@@ -352,44 +352,8 @@
 izer
-%0A    # pagination_class = Pagination
 %0A%0A  

remove pagination class in favour of setting