                  offset = self.cursor.offset + self.page_size
                  position = self.previous_position
  
          cursor = Cursor(offset=offset, reverse=False, position=position)
          encoded = encode_cursor(cursor)
          return replace_query_param(self.base_url, self.cursor_query_param, encoded)
  
      def get_previous_link(self):
          if not self.has_previous:
              return None
 
</s> remove         encoded = encode_cursor(cursor)
 </s> add         encoded = _encode_cursor(cursor) </s> remove         return 'created'
 </s> add         """
        Return a tuple of strings, that may be used in an `order_by` method.
        """
        return ('created',) </s> remove                 position = ''
 </s> add                 position = None </s> remove             self.has_previous = current_position != '' or offset > 0
 </s> add             self.has_previous = (current_position is not None) or (offset > 0) </s> remove             self.has_next = current_position != '' or offset > 0
 </s> add             self.has_next = (current_position is not None) or (offset > 0)
        encoded = _encode_cursor(cursor)
                  offset = self.cursor.offset + self.page_size
                  position = self.previous_position
  
          cursor = Cursor(offset=offset, reverse=False, position=position)
        encoded = _encode_cursor(cursor)
          return replace_query_param(self.base_url, self.cursor_query_param, encoded)
  
      def get_previous_link(self):
          if not self.has_previous:
              return None
keep keep keep keep replace keep keep keep keep keep
 Support for tuple ordering in cursor pagination 
rest_framework/pagination.py