[3.1.x] Fixed #32252 -- Fixed __isnull=True on key transforms on SQLite and Oracle.

__isnull=True on key transforms should not match keys with NULL values.

Backport of 8d7085e0fd from master
This commit is contained in:
sage 2020-12-09 21:45:18 +07:00 committed by Mariusz Felisiak
parent ce7f8c2ead
commit a891e1bb0a
3 changed files with 22 additions and 5 deletions

View file

@ -9,4 +9,6 @@ Django 3.1.5 fixes several bugs in 3.1.4.
Bugfixes
========
* ...
* Fixed ``__isnull=True`` lookup on key transforms for
:class:`~django.db.models.JSONField` with Oracle and SQLite
(:ticket:`32252`).