          page object, or `None` if pagination is not configured for this view.
          """
          page_size = self.get_page_size(request)
          if not page_size:
              return None
  
          paginator = self.django_paginator_class(queryset, page_size)
 
</s> remove         self.request = request
 </s> add  </s> remove         self.request = request
 </s> add 
        self.request = request
          page object, or `None` if pagination is not configured for this view.
          """
        self.request = request
          page_size = self.get_page_size(request)
          if not page_size:
              return None
  
          paginator = self.django_paginator_class(queryset, page_size)
keep add keep keep keep keep keep
 Make request consistently available in pagination classes (#8764)

* Store request in CursorPagination field

* Define request at start of pagination entrypoint 
rest_framework/pagination.py