On Wednesday 30 March 2016 15:45:23 Tim Graham wrote: > How did you imagine the deprecation cycle working? Do you want Django to > raise a warning saying that the regular expression is changing and provide > a temporary setting or something to opt-in to the simpler validation? >
Yes, that's one option; another is to define a HTML5EmailField (or a better name) that uses the simpler validation, and warn that EmailField is going to turn into an alias of that -- so that each EmailField in the project is handled separately. Also, I'm not sure it's possible to have the warning produced by a check; but if it is, that would be preferable. Shai.