[Fixed]-In a Django Model, how can I set values for Django validators based on another field?

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.

Leave a comment