Skip to content

Commit 7fc9db1

Browse files
cliffordgamajacobtylerwalls
authored andcommitted
Refs #35381 -- Clarified key and index lookup handling of None in exact lookup docs.
1 parent 348ca84 commit 7fc9db1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/ref/models/querysets.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3188,6 +3188,8 @@ As a convenience when no lookup type is provided (like in
31883188

31893189
Exact match. If the value provided for comparison is ``None``, it will be
31903190
interpreted as an SQL ``NULL`` (see :lookup:`isnull` for more details).
3191+
:lookup:`Key and index lookups <jsonfield.key>` are exceptions: they
3192+
interpret ``None`` as JSON ``null`` instead.
31913193

31923194
Examples::
31933195

0 commit comments

Comments
 (0)