1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Refs #35381 -- Clarified key and index lookup handling of None in exact lookup docs.

This commit is contained in:
Clifford Gama
2025-10-23 15:57:16 +02:00
committed by Jacob Walls
parent 348ca84538
commit 7fc9db1c6a

View File

@@ -3188,6 +3188,8 @@ As a convenience when no lookup type is provided (like in
Exact match. If the value provided for comparison is ``None``, it will be Exact match. If the value provided for comparison is ``None``, it will be
interpreted as an SQL ``NULL`` (see :lookup:`isnull` for more details). interpreted as an SQL ``NULL`` (see :lookup:`isnull` for more details).
:lookup:`Key and index lookups <jsonfield.key>` are exceptions: they
interpret ``None`` as JSON ``null`` instead.
Examples:: Examples::