summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/db/queries.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/db/queries.txt b/docs/topics/db/queries.txt
index d7617e8b48..956baa7975 100644
--- a/docs/topics/db/queries.txt
+++ b/docs/topics/db/queries.txt
@@ -426,13 +426,13 @@ probably use:
:lookup:`exact`
An "exact" match. For example::
- >>> Entry.objects.get(headline__exact="Man bites dog")
+ >>> Entry.objects.get(headline__exact="Cat bites dog")
Would generate SQL along these lines:
.. code-block:: sql
- SELECT ... WHERE headline = 'Man bites dog';
+ SELECT ... WHERE headline = 'Cat bites dog';
If you don't provide a lookup type -- that is, if your keyword argument
doesn't contain a double underscore -- the lookup type is assumed to be