def validate_fields(self, bundle, request=None):
        errors = []
        for field in self.validated_fields[request.method]:
            validation_func = getattr(self, '%s_is_valid' % field)
            try:
                validation_func(bundle.data.get(field, None), bundle, request)
            except __HOLE__, error:
                errors.append(error.get_dict())
        return errors
dataset/ETHPy150Open mozilla/inventory/vendor-local/src/django-tastytools/tastytools/validation.py/FieldsValidation.validate_fields