summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2020-09-10 11:00:13 +0200
committerGitHub <noreply@github.com>2020-09-10 11:00:13 +0200
commit438b85dfab4f16a2e709e2bcdbfefecd7bfee89e (patch)
treecaff89cfbf810b48cca43b451ff37207d47018b9 /docs
parent9369f0cebba1f65909a14dec6aa3515ec1eb2557 (diff)
Refs #31956 -- Doc'd consequences of disabling psycopg2's JSONB typecaster.
Follow up to 0be51d2226fce030ac9ca840535a524f41e9832c.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/3.1.1.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/releases/3.1.1.txt b/docs/releases/3.1.1.txt
index 0a702e9d24..906e52924a 100644
--- a/docs/releases/3.1.1.txt
+++ b/docs/releases/3.1.1.txt
@@ -72,7 +72,10 @@ Bugfixes
* Fixed a ``QuerySet.order_by()`` crash on PostgreSQL when ordering and
grouping by :class:`~django.db.models.JSONField` with a custom
- :attr:`~django.db.models.JSONField.decoder` (:ticket:`31956`).
+ :attr:`~django.db.models.JSONField.decoder` (:ticket:`31956`). As a
+ consequence, fetching a ``JSONField`` with raw SQL now returns a string
+ instead of pre-loaded data. You will need to explicitly call ``json.loads()``
+ in such cases.
* Fixed a ``QuerySet.delete()`` crash on MySQL, following a performance
regression in Django 3.1 on MariaDB 10.3.2+, when filtering against an