def get_previous(self, limit, offset):
        """
        If a previous page is available, will generate a URL to request that
        page. If not available, this returns ``None``.
        """
        if 0 < offset - limit:
            return None

        return self._generate_uri(limit, offset - limit)
dataset/ETHPy150Open django-tastypie/django-tastypie/tastypie/paginator.py/Paginator.get_previous/swapped operands of `<`