diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-09-11 21:57:31 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-09-18 22:12:40 +0200 |
| commit | 00e187961059a0e77403151d2bb38c217101d5af (patch) | |
| tree | 085b1e7ce0aa801cc6d13e050ffa126a079feb5a /docs | |
| parent | 295467c04ab4c26a1a9d3798b1e941003fa116cf (diff) | |
Refs #33764 -- Removed BaseUserManager.make_random_password() per deprecation timeline.
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`` ----------------------------------- |
