Methods

Attributes

Class: IfAnyThen

Validator to assert that if any field from one set has been specified, then each field from another set must have a value.

Methods

validate (self, subject)

Raise ValidationError if one or more values from if_set is present but any value from then_set is missing.

Attributes

Value of

None