summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorHasan Ramezani <hasan.r67@gmail.com>2020-09-09 12:54:25 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-09-10 09:48:04 +0200
commit9369f0cebba1f65909a14dec6aa3515ec1eb2557 (patch)
tree2c4da05555bd96447ed6618f5f252412915f619a /docs
parent502e75f9ed5476ffe8229109acf0c23999d4b533 (diff)
Fixed #31967 -- Doc'd consequences of resolving an output_field for Value().
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/3.2.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/releases/3.2.txt b/docs/releases/3.2.txt
index b0a580fa05..9000b170eb 100644
--- a/docs/releases/3.2.txt
+++ b/docs/releases/3.2.txt
@@ -277,7 +277,10 @@ Models
:py:class:`float`, :py:class:`int`, :py:class:`str`,
:py:class:`datetime.date`, :py:class:`datetime.datetime`,
:py:class:`datetime.time`, :py:class:`datetime.timedelta`,
- :py:class:`decimal.Decimal`, and :py:class:`uuid.UUID` instances.
+ :py:class:`decimal.Decimal`, and :py:class:`uuid.UUID` instances. As a
+ consequence, resolving an ``output_field`` for database functions and
+ combined expressions may now crash with mixed types when using ``Value()``.
+ You will need to explicitly set the ``output_field`` in such cases.
* The new :meth:`.QuerySet.alias` method allows creating reusable aliases for
expressions that don't need to be selected but are used for filtering,