django1/django/db/models/sql
Matthew Schinckel 4137fc2efc Fixed #25367 -- Allowed boolean expressions in QuerySet.filter() and exclude().
This allows using expressions that have an output_field that is a
BooleanField to be used directly in a queryset filters, or in the
When() clauses of a Case() expression.

Thanks Josh Smeaton, Tim Graham, Simon Charette, Mariusz Felisiak, and
Adam Johnson for reviews.

Co-Authored-By: NyanKiyoshi <hello@vanille.bid>
2019-08-29 09:45:29 +02:00
..
__init__.py Fixed E117 and F405 flake8 warnings. 2019-01-30 13:06:09 +01:00
compiler.py Refs #25367 -- Moved select_format hook to BaseExpression. 2019-08-13 06:48:14 +02:00
constants.py Fixed #26184 -- Allowed using any lookups in ModelAdmin.search_fields. 2017-11-18 19:33:52 -05:00
datastructures.py Removed unused enumerate in django/db/models/sql/datastructures.py. 2018-08-13 18:41:24 -04:00
query.py Fixed #25367 -- Allowed boolean expressions in QuerySet.filter() and exclude(). 2019-08-29 09:45:29 +02:00
subqueries.py Fixed #28668 -- Allowed QuerySet.bulk_create() to ignore insert conflicts. 2018-08-03 17:40:46 -04:00
where.py Fixed #29545 -- Fixed using filter lookups againts nested subquery expressions. 2019-08-17 11:24:35 +02:00