1👍
You can’t do that with a field validator. Instead, define the clean
method on the model to check the field values and raise ValidationError if required.
Source:stackexchange.com
1👍
You can’t do that with a field validator. Instead, define the clean
method on the model to check the field values and raise ValidationError if required.