Refs #31670 -- Removed whitelist argument and domain_whitelist attribute in EmailValidator per deprecation timeline.

This commit is contained in:
Mariusz Felisiak 2021-09-16 08:53:34 +02:00
parent 1cb495074f
commit d25710a625
4 changed files with 5 additions and 78 deletions

View file

@ -151,13 +151,6 @@ to, or in lieu of custom ``field.clean()`` methods.
validation, so you'd need to add them to the ``allowlist`` as
necessary.
.. deprecated:: 3.2
The ``whitelist`` parameter is deprecated. Use :attr:`allowlist`
instead.
The undocumented ``domain_whitelist`` attribute is deprecated. Use
``domain_allowlist`` instead.
``URLValidator``
----------------