summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorpriyanshsaxena <askpriyansh@gmail.com>2018-01-28 15:57:15 +0530
committerTim Graham <timograham@gmail.com>2018-01-31 10:54:19 -0500
commit617d5f410fdd5c491c929e5d66ce6f5aa95e45ee (patch)
treeb58c212812ce37b7da93b0dcda24f8e2eeb4fe25 /docs/ref
parent6b2f8fb91c7adab123156e185db2efe31e41b628 (diff)
Fixed #29066 -- Allowed negating query expressions.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/models/expressions.txt10
1 files changed, 7 insertions, 3 deletions
diff --git a/docs/ref/models/expressions.txt b/docs/ref/models/expressions.txt
index fcd88a58a2..8ca975cc3a 100644
--- a/docs/ref/models/expressions.txt
+++ b/docs/ref/models/expressions.txt
@@ -13,9 +13,13 @@ more complex computations.
Supported arithmetic
====================
-Django supports addition, subtraction, multiplication, division, modulo
-arithmetic, and the power operator on query expressions, using Python constants,
-variables, and even other expressions.
+Django supports negation, addition, subtraction, multiplication, division,
+modulo arithmetic, and the power operator on query expressions, using Python
+constants, variables, and even other expressions.
+
+.. versionchanged:: 2.1
+
+ Support for negation was added.
Some examples
=============