def validate_attribute_value(attribute, value, obj):
    return import_validator(attribute.validation)(value, obj)
Helper function for forms that wish to validation a value for an
dataset/ETHPy150Open dokterbob/satchmo/satchmo/apps/product/utils.py/validate_attribute_value