def validation_integer(value, obj=None):
    try:
        check = int(value)
        return True, value
    except:
        return False, value
Validates that value is an integer number.
dataset/ETHPy150Open dokterbob/satchmo/satchmo/apps/product/utils.py/validation_integer