1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Fixed #27154 -- Allowed comparing CallableBool with bitwise or.

Thanks Tim for the review.
This commit is contained in:
Olexander Yermakov
2016-08-31 11:07:30 +03:00
committed by Tim Graham
parent b961b51eaf
commit b7fb608142
3 changed files with 15 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ Bugfixes
doesn't return a result (:ticket:`26991`).
* Allowed ``User.is_authenticated`` and ``User.is_anonymous`` properties to be
compared using ``==`` and ``!=`` (:ticket:`26988`).
compared using ``==``, ``!=``, and ``|`` (:ticket:`26988`, :ticket:`27154`).
* Removed the broken ``BaseCommand.usage()`` method which was for
``optparse`` support (:ticket:`27000`).