summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/internals/deprecation.txt2
-rw-r--r--docs/releases/6.0.txt3
2 files changed, 5 insertions, 0 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt
index 0e2a7ffb36..43c78ca041 100644
--- a/docs/internals/deprecation.txt
+++ b/docs/internals/deprecation.txt
@@ -53,6 +53,8 @@ details on these changes.
* The ``django.core.mail.forbid_multi_line_headers()`` and
``django.core.mail.message.sanitize_address()`` functions will be removed.
+* The ``django.utils.crypto.constant_time_compare()`` function will be removed.
+
.. _deprecation-removed-in-6.1:
6.1
diff --git a/docs/releases/6.0.txt b/docs/releases/6.0.txt
index e54b9788ce..f131ac7c0d 100644
--- a/docs/releases/6.0.txt
+++ b/docs/releases/6.0.txt
@@ -570,6 +570,9 @@ Miscellaneous
* The undocumented ``django.core.mail.forbid_multi_line_headers()`` and
``django.core.mail.message.sanitize_address()`` functions are deprecated.
+* The ``django.utils.crypto.constant_time_compare()`` function is deprecated
+ because it is merely an alias of :py:func:`hmac.compare_digest`.
+
Features removed in 6.0
=======================