django/docs/ref/models
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
..
class.txt Fixed #22019 -- Added Model.objects reference documentation. 2014-05-17 08:32:05 -04:00
conditional-expressions.txt Fixed #25367 -- Allowed boolean expressions in QuerySet.filter() and exclude(). 2019-08-29 09:45:29 +02:00
constraints.txt Refs #30547 -- Clarified that partial UniqueConstraints don't affect model validation. 2019-07-18 12:56:25 +02:00
database-functions.txt Removed unnecessary /static from links to PostgreSQL docs. 2019-03-29 21:49:44 -04:00
expressions.txt Fixed #25367 -- Allowed boolean expressions in QuerySet.filter() and exclude(). 2019-08-29 09:45:29 +02:00
fields.txt Refs #28428 -- Made FileField.upload_to support pathlib.Path. 2019-08-18 20:34:58 +02:00
index.txt Generalized check constraint docs for other constraints. 2018-11-13 17:57:27 -05:00
indexes.txt Fixed #30397 -- Added app_label/class interpolation for names of indexes and constraints. 2019-07-08 14:57:56 +02:00
instances.txt Removed unnecessary backslashes from docs. 2019-06-20 14:04:36 +02:00
lookups.txt Fixed typos in docs, comments, and exception messages. 2019-04-18 09:33:53 +02:00
meta.txt Fixed #29458 -- Doc'd how related_query_name affects Model._meta.get_field(). 2018-06-28 19:35:01 -04:00
options.txt Fixed #30688 -- Clarified base_manager_name docs. 2019-08-09 10:08:06 +02:00
querysets.txt Fixed #30733 -- Doc'd that datetime lookups require time zone definitions in the database. 2019-08-28 08:42:55 +02:00
relations.txt Fixed #26678 -- Doc'd that RelatedManager.add()/remove()/set() accepts the field the relation points to. 2019-05-07 08:55:45 +02:00