1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #33764 -- Deprecated BaseUserManager.make_random_password().

This commit is contained in:
Ciaran McCormick
2022-06-02 14:40:20 +01:00
committed by Mariusz Felisiak
parent a3a1290d47
commit 286e7d076c
6 changed files with 24 additions and 1 deletions

View File

@@ -250,4 +250,7 @@ Features deprecated in 4.2
Miscellaneous
-------------
* ...
* The ``BaseUserManager.make_random_password()`` method is deprecated. See
`recipes and best practices
<https://docs.python.org/3/library/secrets.html#recipes-and-best-practices>`_
for using Python's :py:mod:`secrets` module to generate passwords.