summaryrefslogtreecommitdiff
path: root/docs/releases
diff options
context:
space:
mode:
authorHasan Ramezani <hasan.r67@gmail.com>2020-03-26 13:23:32 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-03-31 10:52:56 +0200
commit8aa71f4e8706b6b3e4e60aaffb29d004e1378ae3 (patch)
tree9b8b61af27e03bc07a5ee4b95f380b525ff7c5df /docs/releases
parentb3ab92cc5ad5e851692f36432465a9150e8b3313 (diff)
Fixed #31375 -- Made contrib.auth.hashers.make_password() accept only bytes or strings.
Diffstat (limited to 'docs/releases')
-rw-r--r--docs/releases/3.1.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/3.1.txt b/docs/releases/3.1.txt
index e4992b0a4a..492622d3bd 100644
--- a/docs/releases/3.1.txt
+++ b/docs/releases/3.1.txt
@@ -603,6 +603,10 @@ Miscellaneous
* The admin CSS classes ``row1`` and ``row2`` are removed in favor of
``:nth-child(odd)`` and ``:nth-child(even)`` pseudo-classes.
+* The :func:`~django.contrib.auth.hashers.make_password` now requires its
+ argument to be a string or bytes. Other types should be explicitly cast to
+ one of these.
+
.. _deprecated-features-3.1:
Features deprecated in 3.1