Refs #25847 -- Removed support for User.is_(anonymous|authenticated) as methods.

Per deprecation timeline.
This commit is contained in:
Tim Graham 2016-12-31 11:46:40 -05:00
parent b70094f040
commit eba093e8b0
8 changed files with 7 additions and 142 deletions

View file

@ -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