

def get_paginated_objects(self):
    '\n        Return a paginated list of Django model instances. The call is cached.\n        '
    if hasattr(self, '_objects'):
        return self._objects
    else:
        paginated_results = self.page.object_list
        self._objects = self.bulk_fetch_results(paginated_results)
    return self._objects

dataset/ETHPy150Open django-oscar/django-oscar/src/oscar/apps/search/search_handlers.py SearchHandler.get_paginated_objects/original