summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2021-09-16 08:53:34 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-09-20 21:23:01 +0200
commitd25710a625fbb6dbb047c159417f796102fd721a (patch)
treeac34420b9b682b1b1e2559c47b5417fe5e69c627 /docs
parent1cb495074f6d983096a015736fed16176588cd33 (diff)
Refs #31670 -- Removed whitelist argument and domain_whitelist attribute in EmailValidator per deprecation timeline.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/validators.txt7
-rw-r--r--docs/releases/4.1.txt3
2 files changed, 3 insertions, 7 deletions
diff --git a/docs/ref/validators.txt b/docs/ref/validators.txt
index 50761e5a42..4230738a2b 100644
--- a/docs/ref/validators.txt
+++ b/docs/ref/validators.txt
@@ -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``
----------------
diff --git a/docs/releases/4.1.txt b/docs/releases/4.1.txt
index 96ac8cc19d..80f749a047 100644
--- a/docs/releases/4.1.txt
+++ b/docs/releases/4.1.txt
@@ -252,3 +252,6 @@ to remove usage of these features.
* Support for using a boolean value in
:attr:`.BaseCommand.requires_system_checks` is removed.
+
+* The ``whitelist`` argument and ``domain_whitelist`` attribute of
+ ``django.core.validators.EmailValidator`` are removed.