django1/tests/expressions
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 Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
models.py Fixed #25367 -- Allowed boolean expressions in QuerySet.filter() and exclude(). 2019-08-29 09:45:29 +02:00
test_deprecation.py Refs #30158 -- Added alias argument to Expression.get_group_by_cols(). 2019-03-21 18:47:46 -04:00
test_queryset_values.py Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
tests.py Fixed #25367 -- Allowed boolean expressions in QuerySet.filter() and exclude(). 2019-08-29 09:45:29 +02:00