summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2020-03-11 09:47:43 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-03-11 13:16:44 +0100
commite663f695fb282053b31f69ee2dcbc67ddacb9104 (patch)
tree059aefa465734a3d0a781cab682d80511cb6ae92 /docs
parent5cc2c63f902412cdd9a8ebbabbd953aa8e2180c0 (diff)
Fixed #31359 -- Deprecated get_random_string() calls without an explicit length.
Diffstat (limited to 'docs')
-rw-r--r--docs/internals/deprecation.txt3
-rw-r--r--docs/releases/3.1.txt3
2 files changed, 6 insertions, 0 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt
index c32666fdb7..580301436a 100644
--- a/docs/internals/deprecation.txt
+++ b/docs/internals/deprecation.txt
@@ -61,6 +61,9 @@ details on these changes.
* The ``providing_args`` argument for ``django.dispatch.Signal`` will be
removed.
+* The ``length`` argument for ``django.utils.crypto.get_random_string()`` will
+ be required.
+
See the :ref:`Django 3.1 release notes <deprecated-features-3.1>` for more
details on these changes.
diff --git a/docs/releases/3.1.txt b/docs/releases/3.1.txt
index 8664cf5d10..18b40b3bcc 100644
--- a/docs/releases/3.1.txt
+++ b/docs/releases/3.1.txt
@@ -554,6 +554,9 @@ Miscellaneous
argument as documentation, you can move the text to a code comment or
docstring.
+* Calling ``django.utils.crypto.get_random_string()`` without a ``length``
+ argument is deprecated.
+
.. _removed-features-3.1:
Features removed in 3.1