mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #26988 -- Improved/clarified User.is_authenticated/anonymous compatibility.
Thanks marktranchant for the report and review.
This commit is contained in:
@@ -11,3 +11,6 @@ Bugfixes
|
||||
|
||||
* Fixed a crash in MySQL connections where ``SELECT @@SQL_AUTO_IS_NULL``
|
||||
doesn't return a result (:ticket:`26991`).
|
||||
|
||||
* Allowed ``User.is_authenticated`` and ``User.is_anonymous`` properties to be
|
||||
compared using ``==`` and ``!=`` (:ticket:`26988`).
|
||||
|
||||
Reference in New Issue
Block a user