Changes between Version 1 and Version 2 of Ticket #25594, comment 6


Ignore:
Timestamp:
Dec 22, 2019, 2:31:13 PM (5 years ago)
Author:
Federico Jaramillo Martínez

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25594, comment 6

    v1 v2  
    22Something like `disable_default_validators=False`.
    33
    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.
     4When 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.
    55
    66This 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.
Back to Top