Refs #35381 -- Clarified key and index lookup handling of None in exact lookup docs.
Some checks failed
Linters / isort (push) Waiting to run
Linters / flake8 (push) Waiting to run
Linters / black (push) Waiting to run
Tests / Windows, SQLite, Python 3.14 (push) Waiting to run
Tests / JavaScript tests (push) Waiting to run
Docs / spelling (push) Has been cancelled
Docs / blacken-docs (push) Has been cancelled
Docs / lint-docs (push) Has been cancelled

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