      ordering = '-created'
      template = 'rest_framework/pagination/previous_and_next.html'
  
      # The offset in the cursor is used in situations where we have a
      # nearly-unique index. (Eg millisecond precision creation timestamps)
      # We guard against malicious users attempting to cause expensive database
      # queries, by having a hard cap on the maximum possible size of the offset.
 
</s> remove         return [
 </s> add         fields = [
    # Client can control the page size using this query parameter.
    # Default is 'None'. Set to eg 'page_size' to enable usage.
    page_size_query_param = None
    page_size_query_description = _('Number of results to return per page.')

    # Set to an integer to limit the maximum page size the client may request.
    # Only relevant if 'page_size_query_param' has also been set.
    max_page_size = None

      ordering = '-created'
      template = 'rest_framework/pagination/previous_and_next.html'
  
    # Client can control the page size using this query parameter.
    # Default is 'None'. Set to eg 'page_size' to enable usage.
    page_size_query_param = None
    page_size_query_description = _('Number of results to return per page.')

    # Set to an integer to limit the maximum page size the client may request.
    # Only relevant if 'page_size_query_param' has also been set.
    max_page_size = None

      # The offset in the cursor is used in situations where we have a
      # nearly-unique index. (Eg millisecond precision creation timestamps)
      # We guard against malicious users attempting to cause expensive database
      # queries, by having a hard cap on the maximum possible size of the offset.
keep keep add keep keep keep keep
 Add support for page_size parameter in CursorPaginator class 
rest_framework/pagination.py