      def get_ordering(self):
          return 'created'
  
      def _get_position_from_instance(self, instance, ordering):
          return str(getattr(instance, ordering))
 
</s> remove         return 'created'
 </s> add         """
        Return a tuple of strings, that may be used in an `order_by` method.
        """
        return ('created',) </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 def _strict_positive_int(integer_string, cutoff=None):
 </s> add def _positive_int(integer_string, strict=False, cutoff=None): </s> remove                 return _strict_positive_int(
 </s> add                 return _positive_int(
        attr = getattr(instance, ordering[0])
        return six.text_type(attr)
      def get_ordering(self):
          return 'created'
  
      def _get_position_from_instance(self, instance, ordering):
        attr = getattr(instance, ordering[0])
        return six.text_type(attr)
keep keep keep keep replace
 Support for tuple ordering in cursor pagination 
rest_framework/pagination.py