diff options
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/models/querysets.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index fa4a09756f..e15e55d05c 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -2028,9 +2028,15 @@ iexact Case-insensitive exact match. +.. versionchanged:: 1.7 + + If the value provided for comparision is ``None``, it will be interpreted + as an SQL ``NULL`` (see :lookup:`isnull` for more details). + Example:: Blog.objects.get(name__iexact='beatles blog') + Blog.objects.get(name__iexact=None) SQL equivalent:: |
