diff options
Diffstat (limited to 'docs/topics/auth')
| -rw-r--r-- | docs/topics/auth/customizing.txt | 6 | ||||
| -rw-r--r-- | docs/topics/auth/passwords.txt | 8 |
2 files changed, 0 insertions, 14 deletions
diff --git a/docs/topics/auth/customizing.txt b/docs/topics/auth/customizing.txt index 505beb5289..13c86d3ec3 100644 --- a/docs/topics/auth/customizing.txt +++ b/docs/topics/auth/customizing.txt @@ -802,10 +802,6 @@ utility methods: Retrieves a user instance using the contents of the field nominated by ``USERNAME_FIELD``. - .. versionchanged:: 5.2 - - ``aget_by_natural_key()`` method was added. - Extending Django's default ``User`` ----------------------------------- @@ -1205,8 +1201,6 @@ using the :setting:`AUTH_USER_MODEL` setting in your ``settings.py``:: Adding an async interface ~~~~~~~~~~~~~~~~~~~~~~~~~ -.. versionadded:: 5.2 - To optimize performance when called from an async context authentication, backends can implement async versions of each function - ``aget_user(user_id)`` and ``aauthenticate(request, **credentials)``. When an authentication backend diff --git a/docs/topics/auth/passwords.txt b/docs/topics/auth/passwords.txt index 0976ae4fa2..37d6251364 100644 --- a/docs/topics/auth/passwords.txt +++ b/docs/topics/auth/passwords.txt @@ -604,8 +604,6 @@ Django includes four validators: .. method:: get_error_message() - .. versionadded:: 5.2 - A hook for customizing the ``ValidationError`` error message. Defaults to ``"This password is too short. It must contain at least <min_length> characters."``. @@ -634,8 +632,6 @@ Django includes four validators: .. method:: get_error_message() - .. versionadded:: 5.2 - A hook for customizing the ``ValidationError`` error message. Defaults to ``"The password is too similar to the <user_attribute>."``. @@ -657,8 +653,6 @@ Django includes four validators: .. method:: get_error_message() - .. versionadded:: 5.2 - A hook for customizing the ``ValidationError`` error message. Defaults to ``"This password is too common."``. @@ -673,8 +667,6 @@ Django includes four validators: .. method:: get_error_message() - .. versionadded:: 5.2 - A hook for customizing the ``ValidationError`` error message. Defaults to ``"This password is entirely numeric."``. |
