summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorRyan Heard <ryanwheard@gmail.com>2020-05-19 00:47:56 -0500
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-05-27 07:32:23 +0200
commit587b179d4115f2e4dbc425d1ae035be9eb22197b (patch)
treeddfedcbf809a54c22314274b6d86103a0c280e93 /docs/ref
parent2aac176e86204785f0f2ec4838049d8fed70870e (diff)
Fixed #31606 -- Allowed using condition with lookups in When() expression.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/models/conditional-expressions.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/ref/models/conditional-expressions.txt b/docs/ref/models/conditional-expressions.txt
index 7616b98e0a..a1e2430ec1 100644
--- a/docs/ref/models/conditional-expressions.txt
+++ b/docs/ref/models/conditional-expressions.txt
@@ -81,6 +81,10 @@ Keep in mind that each of these values can be an expression.
>>> When(then__exact=0, then=1)
>>> When(Q(then=0), then=1)
+.. versionchanged:: 3.2
+
+ Support for using the ``condition`` argument with ``lookups`` was added.
+
``Case``
--------