

def add(self, validator, **kw):
    '\n        Validates a passed in value using the passed in validation function,\n        and handles the validation error for you so it gives a nice true or false reply.\n        '
    self._format('add', validator(**kw))
    return self

dataset/ETHPy150Open callowayproject/django-livevalidation/livevalidation/validator.py LiveValidation.add/original