1
0
mirror of https://github.com/django/django.git synced 2024-12-25 02:26:12 +00:00
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
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
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
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
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