diff options
| author | Clifford Gama <cliffygamy@gmail.com> | 2026-01-09 22:19:36 +0200 |
|---|---|---|
| committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2026-01-09 15:49:34 -0500 |
| commit | 1d15c732bb9dde0fca8bd662a475bb51d0ab2756 (patch) | |
| tree | 4ccc33b942ea84fe59f644320f29daf220e230b8 /docs | |
| parent | 0a983330cd57dd2bb1dfa91a5a3ed742559eebe6 (diff) | |
Refs #35381 -- Added missing deprecation note for using None as RHS of JSONExact.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/internals/deprecation.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index 2473d2b4f7..280187b368 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -59,6 +59,11 @@ details on these changes. * Calling :meth:`.QuerySet.values_list` with ``flat=True`` and no field name will raise ``TypeError``. +* The use of ``None`` when querying a :class:`~django.db.models.JSONField` + top-level value will compile to SQL ``IS NULL``. Use + :class:`~django.db.models.JSONNull` to query for a JSON ``null`` value + instead. + .. _deprecation-removed-in-6.1: 6.1 |
