Changes between Version 1 and Version 2 of Ticket #25594, comment 6
- Timestamp:
- Dec 22, 2019, 2:31:13 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25594, comment 6
v1 v2 2 2 Something like `disable_default_validators=False`. 3 3 4 When instantiating a field , one can set it to `True`, and this will disable all `default_validators`, and if it is set on a model field,will be propagated to the form field.4 When instantiating a field one can set it to `True` and this will disable all `default_validators`, and if it is set on a model field it will be propagated to the form field. 5 5 6 6 This way, the developer is in full control of the validators, both for the model field and the form field. Less magic, and more clear what is going on.