def get_paginator(self, queryset):
        return self.paginator_class(queryset, self.paginate_by)

    # Accessing the search results and meta data
Return a paginator. Override this to set settings like orphans,
dataset/ETHPy150Open django-oscar/django-oscar/src/oscar/apps/search/search_handlers.py/SearchHandler.get_paginator