def positive_integer(value):
    if value < 0:
        raise serializers.ValidationError('This field must be positive.')
dataset/ETHPy150Open mozilla/kitsune/kitsune/search/api.py/positive_integer/original