def METHOD_NAME(self, queryset, request, view=None):
    self.request = request
    self.count = queryset.count()
    self.limit = self.get_limit(request)
    self.page = self.get_page(request)
    self.offset = self.get_offset(request)
    self.has_next_page = self.next_page_exists(queryset)
    self.has_previous_page = bool(self.page > 1)
    # Turn on the controls if we have multiple pages
    if self.next_page_exists and self.template is not None:
        self.display_page_controls = True
    return list(queryset[self.offset : self.offset + self.limit])