diff options
| author | David Smith <smithdc@gmail.com> | 2020-06-17 07:35:09 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-06-18 21:43:20 +0200 |
| commit | 27c09043da52ca1f02605bf28600bfd5ace95ae4 (patch) | |
| tree | b9fb0d8d11a736943e4bab5ea2982bb8d96d6477 /docs/releases | |
| parent | 26a413507abb38f7eee4cf62f2ee9727fdc7bf8d (diff) | |
Refs #31670 -- Renamed whitelist argument and attribute of EmailValidator.
Diffstat (limited to 'docs/releases')
| -rw-r--r-- | docs/releases/3.2.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/releases/3.2.txt b/docs/releases/3.2.txt index 9b87484335..a9e9ff662d 100644 --- a/docs/releases/3.2.txt +++ b/docs/releases/3.2.txt @@ -351,3 +351,9 @@ Miscellaneous * Using a boolean value in :attr:`.BaseCommand.requires_system_checks` is deprecated. Use ``'__all__'`` instead of ``True``, and ``[]`` (an empty list) instead of ``False``. + +* The ``whitelist`` argument and ``domain_whitelist`` attribute of + :class:`~django.core.validators.EmailValidator` are deprecated. Use + ``allowlist`` instead of ``whitelist``, and ``domain_allowlist`` instead of + ``domain_whitelist``. You may need to rename ``whitelist`` in existing + migrations. |
