Skip to content

Commit

Permalink
Fixed #23134 -- Fixed typos in docs/ref/models/querysets.txt.
Browse files Browse the repository at this point in the history
Thanks Josh Kupershmidt.
  • Loading branch information
timgraham committed Jul 30, 2014
1 parent 34c60c4 commit 66630f5
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/ref/models/querysets.txt
Expand Up @@ -1714,7 +1714,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
~~~~~
Expand Down Expand Up @@ -2125,12 +2125,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

Expand Down

0 comments on commit 66630f5

Please sign in to comment.