From 00a84fc6f3bb8cca15113e4d41e710123d182b4a Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Fri, 5 Sep 2025 13:49:08 -0400 Subject: Removed versionadded/changed annotations for 5.2. --- docs/topics/auth/customizing.txt | 6 ------ docs/topics/auth/passwords.txt | 8 -------- 2 files changed, 14 deletions(-) (limited to 'docs/topics/auth') 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 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 ."``. @@ -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."``. -- cgit v1.3