diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/5.1.txt | 2 | ||||
| -rw-r--r-- | docs/topics/auth/customizing.txt | 13 |
2 files changed, 1 insertions, 14 deletions
diff --git a/docs/releases/5.1.txt b/docs/releases/5.1.txt index c6d17cc3c7..4560e1fabf 100644 --- a/docs/releases/5.1.txt +++ b/docs/releases/5.1.txt @@ -251,4 +251,4 @@ in Django 5.1. See :ref:`deprecated-features-4.2` for details on these changes, including how to remove usage of these features. -* ... +* The ``BaseUserManager.make_random_password()`` method is removed. diff --git a/docs/topics/auth/customizing.txt b/docs/topics/auth/customizing.txt index bd0c074273..52fa3515b8 100644 --- a/docs/topics/auth/customizing.txt +++ b/docs/topics/auth/customizing.txt @@ -799,19 +799,6 @@ utility methods: Retrieves a user instance using the contents of the field nominated by ``USERNAME_FIELD``. - .. 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: - - * ``i``, ``l``, ``I``, and ``1`` (lowercase letter i, lowercase - letter L, uppercase letter i, and the number one) - * ``o``, ``O``, and ``0`` (lowercase letter o, uppercase letter o, - and zero) - Extending Django's default ``User`` ----------------------------------- |
