def clean(self, value):
        value = super(PositiveRoundedDecimalField, self).clean(value)
        if value<0:
            log.debug('bad val: %s', value)
            raise forms.ValidationError(_('Please enter a positive number'))

        return value
dataset/ETHPy150Open dokterbob/satchmo/satchmo/apps/satchmo_utils/numbers.py/PositiveRoundedDecimalField.clean/original