      replace_query_param, remove_query_param
  )
  
  
  def _strict_positive_int(integer_string, cutoff=None):
      """
      Cast a string to a strictly positive integer.
      """
      ret = int(integer_string)
      if ret <= 0:
 
</s> remove     if ret <= 0:
 </s> add     if ret < 0 or (ret == 0 and strict): </s> remove         return 'created'
 </s> add         """
        Return a tuple of strings, that may be used in an `order_by` method.
        """
        return ('created',) </s> remove                 return _strict_positive_int(
 </s> add                 return _positive_int( </s> remove                 return _strict_positive_int(
 </s> add                 return _positive_int( </s> remove                 kwargs = {self.ordering + '__gt': current_position}
 </s> add                 kwargs = {primary_ordering_attr + '__gt': current_position}
def _positive_int(integer_string, strict=False, cutoff=None):
      replace_query_param, remove_query_param
  )
  
  
def _positive_int(integer_string, strict=False, cutoff=None):
      """
      Cast a string to a strictly positive integer.
      """
      ret = int(integer_string)
      if ret <= 0:
keep keep keep keep replace keep keep keep keep keep
 Support for tuple ordering in cursor pagination 
rest_framework/pagination.py