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

@ -772,6 +772,8 @@ utility methods:
.. method:: models.BaseUserManager.make_random_password(length=10, allowed_chars='abcdefghjkmnpqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ23456789')
.. deprecated:: 4.2
Returns a random password with the given length and given string of
allowed characters. Note that the default value of ``allowed_chars``
doesn't contain letters that can cause user confusion, including: