diff options
| author | Florian Hahn <flo@fhahn.com> | 2013-02-21 23:02:18 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-10-22 10:29:57 -0400 |
| commit | 5240b83462ba4887b67da8d493dfdc23fec5df97 (patch) | |
| tree | 7bae13c499bc84b5f4bcf79c592aa2a9b8008033 /docs/ref | |
| parent | 1597503a017a9ced422a81d314cb4097d53c3dfd (diff) | |
Fixed #17027 -- Added support for the power operator in F expressions.
Thanks dan at dlo.me for the initial patch.
- Added __pow__ and __rpow__ to ExpressionNode
- Added oracle and mysql specific power expressions
- Added used-defined power function for sqlite
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/models/queries.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/ref/models/queries.txt b/docs/ref/models/queries.txt index ebc5142b30..bf7480ef69 100644 --- a/docs/ref/models/queries.txt +++ b/docs/ref/models/queries.txt @@ -112,6 +112,10 @@ As well as addition, Django supports subtraction, multiplication, division, and modulo arithmetic with ``F()`` objects, using Python constants, variables, and even other ``F()`` objects. +.. versionadded:: 1.7 + + The power operator ``**`` is also supported. + ``Q()`` objects =============== |
