diff options
| author | Tim Graham <timograham@gmail.com> | 2014-07-30 13:03:54 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-07-30 13:04:38 -0400 |
| commit | 7dc29dcb99202d170eedf37a7b9bc17be1df36d9 (patch) | |
| tree | 2e4874aa8907b6e9a34fb798049159eed3568243 /docs/ref/models | |
| parent | 82695c3f2b3f8f4fbc8ec0753c0f5f23f0769bee (diff) | |
[1.7.x] Fixed #23134 -- Fixed typos in docs/ref/models/querysets.txt.
Thanks Josh Kupershmidt.
Backport of 66630f589c from master
Diffstat (limited to 'docs/ref/models')
| -rw-r--r-- | docs/ref/models/querysets.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index bdc2092711..68b3324b31 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -1724,7 +1724,7 @@ This has a number of caveats though: The ``batch_size`` parameter controls how many objects are created in single query. The default is to create all objects in one batch, except for SQLite -where the default is such that at maximum 999 variables per query is used. +where the default is such that at most 999 variables per query are used. count ~~~~~ @@ -2140,12 +2140,13 @@ Example:: Blog.objects.get(name__iexact='beatles blog') Blog.objects.get(name__iexact=None) -SQL equivalent:: +SQL equivalents:: SELECT ... WHERE name ILIKE 'beatles blog'; + SELECT ... WHERE name IS NULL; -Note this will match ``'Beatles Blog'``, ``'beatles blog'``, ``'BeAtLes -BLoG'``, etc. +Note the first query will match ``'Beatles Blog'``, ``'beatles blog'``, +``'BeAtLes BLoG'``, etc. .. admonition:: SQLite users |
