summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-12-31 11:46:40 -0500
committerTim Graham <timograham@gmail.com>2017-01-17 20:52:03 -0500
commiteba093e8b02989af1857b1915907ca0897f565ff (patch)
tree9168860253e3956ced80b9e639e8e1c36211057c /docs
parentb70094f0408384993e149ffcfc86cc2d405308d1 (diff)
Refs #25847 -- Removed support for User.is_(anonymous|authenticated) as methods.
Per deprecation timeline.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/auth.txt10
-rw-r--r--docs/releases/2.0.txt3
-rw-r--r--docs/topics/auth/customizing.txt10
3 files changed, 3 insertions, 20 deletions
diff --git a/docs/ref/contrib/auth.txt b/docs/ref/contrib/auth.txt
index 6395949e3e..87dd580051 100644
--- a/docs/ref/contrib/auth.txt
+++ b/docs/ref/contrib/auth.txt
@@ -137,11 +137,6 @@ Attributes
(representing the currently logged-in user), you should know this
attribute is ``True`` for any :class:`~models.User` instance.
- .. versionchanged:: 1.10
-
- In older versions, this was a method. Backwards-compatibility
- support for using it as a method will be removed in Django 2.0.
-
.. attribute:: is_anonymous
Read-only attribute which is always ``False``. This is a way of
@@ -150,11 +145,6 @@ Attributes
:attr:`~django.contrib.auth.models.User.is_authenticated` to this
attribute.
- .. versionchanged:: 1.10
-
- In older versions, this was a method. Backwards-compatibility
- support for using it as a method will be removed in Django 2.0.
-
.. attribute:: username_validator
.. versionadded:: 1.10
diff --git a/docs/releases/2.0.txt b/docs/releases/2.0.txt
index 5751972308..f02520cb9e 100644
--- a/docs/releases/2.0.txt
+++ b/docs/releases/2.0.txt
@@ -358,3 +358,6 @@ these features.
* The shim for supporting custom related manager classes without a
``_apply_rel_filters()`` method is removed.
+
+* Using ``User.is_authenticated()`` and ``User.is_anonymous()`` as methods
+ rather than properties is no longer be supported.
diff --git a/docs/topics/auth/customizing.txt b/docs/topics/auth/customizing.txt
index ff84fad19f..40675d2ef6 100644
--- a/docs/topics/auth/customizing.txt
+++ b/docs/topics/auth/customizing.txt
@@ -695,11 +695,6 @@ The following attributes and methods are available on any subclass of
(representing the currently logged-in user), you should know this
attribute is ``True`` for any :class:`~models.User` instance.
- .. versionchanged:: 1.10
-
- In older versions, this was a method. Backwards-compatibility
- support for using it as a method will be removed in Django 2.0.
-
.. attribute:: models.AbstractBaseUser.is_anonymous
Read-only attribute which is always ``False``. This is a way of
@@ -707,11 +702,6 @@ The following attributes and methods are available on any subclass of
objects. Generally, you should prefer using
:attr:`~models.User.is_authenticated` to this attribute.
- .. versionchanged:: 1.10
-
- In older versions, this was a method. Backwards-compatibility
- support for using it as a method will be removed in Django 2.0.
-
.. method:: models.AbstractBaseUser.set_password(raw_password)
Sets the user's password to the given raw string, taking care of the