mirror of
https://github.com/django/django.git
synced 2025-12-15 21:45:20 +00:00
Fixed #33764 -- Deprecated BaseUserManager.make_random_password().
This commit is contained in:
parent
a3a1290d47
commit
286e7d076c
6 changed files with 24 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue