model validator list completely ignored
|Reported by:||anonymous||Owned by:||Adrian Holovaty|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
when I put this in my model:
code = models.IntegerField(validator_list=[validators.NumberIsInRange(100, 999)])
code is not validated through a newform except that is an integer at all. The validator is never run.
In fact, if I say validator_list=[1,2,3] you might expect an error when it tries to use integers as validators, but nothing happens because it is never walking the list.