Changes between Initial Version and Version 1 of Ticket #20205, comment 24


Ignore:
Timestamp:
Jul 19, 2021, 1:32:10 PM (3 years ago)
Author:
Jacob Walls

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20205, comment 24

    initial v1  
    11It seems curious that under the status quo, where `empty_strings_allowed` is False, that we would skip model validation even at the moment we are holding an empty string (as opposed to None or any of the other values in `empty_values`). [https://github.com/django/django/pull/14666 PR to run model validation in this case.]
    22
    3 However, we could also treat as a duplicate of #22224 and add either [Simon's friendly guardrail https://code.djangoproject.com/ticket/22224#comment:5] for folks without a solution for MyModel.clean() or just wontfix.
     3However, we could also treat as a duplicate of #22224 and add either [https://code.djangoproject.com/ticket/22224#comment:5 Simon's friendly guardrail] for folks without a solution for MyModel.clean() or just wontfix.
    44
    55Happy to hear advice or to be nudged toward the mailing list.
Back to Top