  
          return self.page
  
      def get_page_size(self, request):
          return self.page_size
  
      def get_next_link(self):
          if not self.has_next:
              return None
 
</s> remove         return [
 </s> add         fields = [
        if self.page_size_query_param:
            try:
                return _positive_int(
                    request.query_params[self.page_size_query_param],
                    strict=True,
                    cutoff=self.max_page_size
                )
            except (KeyError, ValueError):
                pass

  
          return self.page
  
      def get_page_size(self, request):
        if self.page_size_query_param:
            try:
                return _positive_int(
                    request.query_params[self.page_size_query_param],
                    strict=True,
                    cutoff=self.max_page_size
                )
            except (KeyError, ValueError):
                pass

          return self.page_size
  
      def get_next_link(self):
          if not self.has_next:
              return None
keep keep keep add keep keep keep keep keep
 Add support for page_size parameter in CursorPaginator class 
rest_framework/pagination.py