summaryrefslogtreecommitdiff
path: root/docs/topics/auth
diff options
context:
space:
mode:
authorJacob Walls <jacobtylerwalls@gmail.com>2025-09-05 13:49:08 -0400
committernessita <124304+nessita@users.noreply.github.com>2025-09-17 15:17:05 -0300
commit00a84fc6f3bb8cca15113e4d41e710123d182b4a (patch)
tree09d8a81acf0c768be984e92de5f3f1206630a266 /docs/topics/auth
parent1db79d8acf20c38aaf52e8e7c57f43c0e6501bb9 (diff)
Removed versionadded/changed annotations for 5.2.
Diffstat (limited to 'docs/topics/auth')
-rw-r--r--docs/topics/auth/customizing.txt6
-rw-r--r--docs/topics/auth/passwords.txt8
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."``.