1
0
mirror of https://github.com/django/django.git synced 2025-10-24 22:26:08 +00:00

Fixed #30826 -- Fixed crash of many JSONField lookups when one hand side is key transform.

Regression in 6c3dfba892.
This commit is contained in:
Louise Grandjonc
2019-10-01 16:25:40 -07:00
committed by Mariusz Felisiak
parent 6a75cea76a
commit 7d1bf29977
5 changed files with 39 additions and 5 deletions

View File

@@ -9,4 +9,7 @@ Django 1.11.26 fixes a regression in 1.11.25.
Bugfixes
========
* ...
* Fixed a crash when using a ``contains``, ``contained_by``, ``has_key``,
``has_keys``, or ``has_any_keys`` lookup on
:class:`~django.contrib.postgres.fields.JSONField`, if the right or left hand
side of an expression is a key transform (:ticket:`30826`).

View File

@@ -9,4 +9,7 @@ Django 2.1.14 fixes a regression in 2.1.13.
Bugfixes
========
* ...
* Fixed a crash when using a ``contains``, ``contained_by``, ``has_key``,
``has_keys``, or ``has_any_keys`` lookup on
:class:`~django.contrib.postgres.fields.JSONField`, if the right or left hand
side of an expression is a key transform (:ticket:`30826`).

View File

@@ -9,4 +9,7 @@ Django 2.2.7 fixes several bugs in 2.2.6.
Bugfixes
========
* ...
* Fixed a crash when using a ``contains``, ``contained_by``, ``has_key``,
``has_keys``, or ``has_any_keys`` lookup on
:class:`~django.contrib.postgres.fields.JSONField`, if the right or left hand
side of an expression is a key transform (:ticket:`30826`).