diff options
| author | Clifford Gama <cliffygamy@gmail.com> | 2025-10-23 15:57:16 +0200 |
|---|---|---|
| committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2025-10-29 15:00:52 -0400 |
| commit | 7fc9db1c6a3a4865d85338f26812ce80f076ebec (patch) | |
| tree | 8ec9bf8d656c3d6830bfd207d4aa859f39f2cd5a /docs | |
| parent | 348ca845385beaddc7c862ff8ec369f041a5088d (diff) | |
Refs #35381 -- Clarified key and index lookup handling of None in exact lookup docs.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/models/querysets.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index e494739bcd..9bfaea025d 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -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:: |
