mirror of
https://github.com/django/django.git
synced 2025-11-01 12:25:37 +00:00
Fixed #29066 -- Allowed negating query expressions.
This commit is contained in:
parent
6b2f8fb91c
commit
617d5f410f
5 changed files with 17 additions and 3 deletions
|
|
@ -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
|
||||
=============
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue