I have model with a field validator
from django.db import models from django.core.validators import MinValueValidator, MaxValueValidator class MyModel(mode
The validator only works when you are using models in a ModelForm.
https://docs.djangoproject.com/en/dev/ref/validators/#how-validators-are-run
You can perform model validation by overidding clean() and full_clean() methods