Refs #35381 -- Added missing deprecation note for using None as RHS of JSONExact.

This commit is contained in:
Clifford Gama
2026-01-09 22:19:36 +02:00
committed by Jacob Walls
parent 0a983330cd
commit 1d15c732bb

View File

@@ -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