summaryrefslogtreecommitdiff
path: root/docs/ref/contrib/auth.txt
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-01-02 10:25:57 -0500
committerTim Graham <timograham@gmail.com>2017-01-17 20:52:05 -0500
commite27e4c03399f610e0db1fb9b881095d762fda2b7 (patch)
tree11bd3fc4e762fad072ef29c0498daab3cba49554 /docs/ref/contrib/auth.txt
parent401c5b2e42bf9134d9221f446765dd0777306f0b (diff)
downloaddjango-e27e4c03399f610e0db1fb9b881095d762fda2b7.tar.gz
Removed versionadded/changed annotations for 1.10.
Diffstat (limited to 'docs/ref/contrib/auth.txt')
-rw-r--r--docs/ref/contrib/auth.txt25
1 files changed, 0 insertions, 25 deletions
diff --git a/docs/ref/contrib/auth.txt b/docs/ref/contrib/auth.txt
index 87dd580051..c049deb439 100644
--- a/docs/ref/contrib/auth.txt
+++ b/docs/ref/contrib/auth.txt
@@ -41,10 +41,6 @@ Fields
on Python 2, with the option to customize the behavior using
:attr:`.User.username_validator`.
- .. versionchanged:: 1.10
-
- The ``max_length`` increased from 30 to 150 characters.
-
.. attribute:: first_name
Optional. 30 characters or fewer.
@@ -99,13 +95,6 @@ Fields
authentication in the Django admin all return ``False`` for inactive
users.
- .. versionchanged:: 1.10
-
- In older versions,
- :class:`~django.contrib.auth.backends.ModelBackend` and
- :class:`~django.contrib.auth.backends.RemoteUserBackend` allowed
- inactive users to authenticate.
-
.. attribute:: is_superuser
Boolean. Designates that this user has all permissions without
@@ -147,8 +136,6 @@ Attributes
.. attribute:: username_validator
- .. versionadded:: 1.10
-
Points to a validator instance used to validate usernames. Defaults to
:class:`validators.UnicodeUsernameValidator` on Python 3 and
:class:`validators.ASCIIUsernameValidator` on Python 2.
@@ -402,16 +389,12 @@ Validators
.. class:: validators.ASCIIUsernameValidator
- .. versionadded:: 1.10
-
A field validator allowing only ASCII letters, in addition to ``@``, ``.``,
``+``, ``-``, and ``_``. The default validator for ``User.username`` on
Python 2.
.. class:: validators.UnicodeUsernameValidator
- .. versionadded:: 1.10
-
A field validator allowing Unicode letters, in addition to ``@``, ``.``,
``+``, ``-``, and ``_``. The default validator for ``User.username`` on
Python 3.
@@ -568,8 +551,6 @@ The following backends are available in :mod:`django.contrib.auth.backends`:
.. method:: ModelBackend.user_can_authenticate()
- .. versionadded:: 1.10
-
Returns whether the user is allowed to authenticate. To match the
behavior of :class:`~django.contrib.auth.forms.AuthenticationForm`
which :meth:`prohibits inactive users from logging in
@@ -581,8 +562,6 @@ The following backends are available in :mod:`django.contrib.auth.backends`:
.. class:: AllowAllUsersModelBackend
- .. versionadded:: 1.10
-
Same as :class:`ModelBackend` except that it doesn't reject inactive users
because :meth:`~ModelBackend.user_can_authenticate` always returns ``True``.
@@ -637,8 +616,6 @@ The following backends are available in :mod:`django.contrib.auth.backends`:
.. method:: RemoteUserBackend.user_can_authenticate()
- .. versionadded:: 1.10
-
Returns whether the user is allowed to authenticate. This method returns
``False`` for users with :attr:`is_active=False
<django.contrib.auth.models.User.is_active>`. Custom user models that don't
@@ -647,8 +624,6 @@ The following backends are available in :mod:`django.contrib.auth.backends`:
.. class:: AllowAllUsersRemoteUserBackend
- .. versionadded:: 1.10
-
Same as :class:`RemoteUserBackend` except that it doesn't reject inactive
users because :attr:`~RemoteUserBackend.user_can_authenticate` always
returns ``True``.