          encoded = encode_cursor(cursor)
          return replace_query_param(self.base_url, self.cursor_query_param, encoded)
  
      def get_ordering(self):
          return 'created'
  
      def _get_position_from_instance(self, instance, ordering):
          return str(getattr(instance, ordering))
 
</s> remove         return str(getattr(instance, ordering))
 </s> add         attr = getattr(instance, ordering[0])
        return six.text_type(attr) </s> remove         encoded = encode_cursor(cursor)
 </s> add         encoded = _encode_cursor(cursor) </s> remove         encoded = encode_cursor(cursor)
 </s> add         encoded = _encode_cursor(cursor) </s> remove                 if ordering.startswith('-'):
 </s> add                 if ordering[0].startswith('-'): </s> remove             (offset, reverse, current_position) = (0, False, '')
 </s> add             (offset, reverse, current_position) = (0, False, None)
        """
        Return a tuple of strings, that may be used in an `order_by` method.
        """
        return ('created',)
          encoded = encode_cursor(cursor)
          return replace_query_param(self.base_url, self.cursor_query_param, encoded)
  
      def get_ordering(self):
        """
        Return a tuple of strings, that may be used in an `order_by` method.
        """
        return ('created',)
  
      def _get_position_from_instance(self, instance, ordering):
          return str(getattr(instance, ordering))
keep keep keep keep replace keep keep keep
 Support for tuple ordering in cursor pagination 
rest_framework/pagination.py