                      if item.created < int(created__lt)
                  ])
  
              def order_by(self, ordering):
                  if ordering.startswith('-'):
                      return MockQuerySet(list(reversed(self.items)))
                  return self
  
              def __getitem__(self, sliced):
                  return self.items[sliced]
 
</s> remove     if ret <= 0:
 </s> add     if ret < 0 or (ret == 0 and strict): </s> remove         return str(getattr(instance, ordering))
 </s> add         attr = getattr(instance, ordering[0])
        return six.text_type(attr) </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(
                if ordering[0].startswith('-'):
                      if item.created < int(created__lt)
                  ])
  
              def order_by(self, ordering):
                if ordering[0].startswith('-'):
                      return MockQuerySet(list(reversed(self.items)))
                  return self
  
              def __getitem__(self, sliced):
                  return self.items[sliced]
keep keep keep keep replace keep keep keep keep keep
 Support for tuple ordering in cursor pagination 
tests/test_pagination.py