summaryrefslogtreecommitdiff
path: root/docs/ref/models/conditional-expressions.txt
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #34140 -- Reformatted code blocks in docs with blacken-docs.django-bot2023-03-011-56/+64
|
* Refs #34140 -- Applied rst code-block to non-Python examples.Carlton Gibson2023-02-101-8/+24
| | | | | Thanks to J.V. Zammit, Paolo Melchiorre, and Mariusz Felisiak for reviews.
* Removed versionadded/changed annotations for 4.0.Carlton Gibson2022-05-171-4/+0
|
* Removed versionadded/changed annotations for 3.2.Mariusz Felisiak2021-09-201-4/+0
|
* Fixed #27021 -- Allowed lookup expressions in annotations, aggregations, and ↵Ian Foote2021-07-091-0/+11
| | | | | | | | QuerySet.filter(). Thanks Hannes Ljungberg and Simon Charette for reviews. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* Refs #30446 -- Removed unnecessary Value(..., output_field) in docs and tests.Simon Charette2020-07-151-3/+1
|
* Fixed #31606 -- Allowed using condition with lookups in When() expression.Ryan Heard2020-05-271-0/+4
|
* Removed versionadded/changed annotations for 3.0.Mariusz Felisiak2020-05-131-6/+0
|
* Fixed #30573 -- Rephrased documentation to avoid words that minimise the ↵Tobias Kunze2019-09-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | involved difficulty. This patch does not remove all occurrences of the words in question. Rather, I went through all of the occurrences of the words listed below, and judged if they a) suggested the reader had some kind of knowledge/experience, and b) if they added anything of value (including tone of voice, etc). I left most of the words alone. I looked at the following words: - simply/simple - easy/easier/easiest - obvious - just - merely - straightforward - ridiculous Thanks to Carlton Gibson for guidance on how to approach this issue, and to Tim Bell for providing the idea. But the enormous lion's share of thanks go to Adam Johnson for his patient and helpful review.
* Fixed #25367 -- Allowed boolean expressions in QuerySet.filter() and exclude().Matthew Schinckel2019-08-291-6/+44
| | | | | | | | | | | 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>
* Changed tuple choices to list in docs.Jon Dufresne2019-05-151-2/+2
|
* Alphabetized imports in various docs.Mariusz Felisiak2018-05-121-2/+2
| | | Follow-up of d97cce34096043b019e818a7fb98c0f9f073704c and 7d3fe36c626a3268413eb86d37920f132eb4a54f.
* Fixed import in docs/ref/models/conditional-expressions.txt example.Mohammad Esmaeilbeygi2017-12-071-1/+1
|
* Fixed #27849 -- Added filtering support to aggregates.Tom2017-08-121-14/+29
|
* Fixed #28352 -- Corrected QuerySet.values_list() return type in docs examples.Irindu Indeera2017-07-111-4/+4
|
* Fixed #27482 -- Doc'd an example of Case() in QuerySet.filter().Jonatas CD2016-11-171-0/+14
|
* Refs #14030 -- Updated docs per "Improved expression support for python values."Sergey Fedoseev2016-06-151-3/+2
| | | | Complements e2d6e14662d780383e18066a3182155fb5b7747b.
* Fixed #26124 -- Added missing code formatting to docs headers.rowanv2016-02-011-4/+4
|
* Removed versionadded/changed annotations for 1.8.Tim Graham2015-09-231-2/+0
|
* Refs #14030 -- Improved expression support for python valuesJosh Smeaton2015-02-121-6/+6
|
* Fixed #24031 -- Added CASE expressions to the ORM.Michał Modzelewski2015-01-121-0/+212