From 491d01b7e9e4244ff904af387f97e39b46786b5e Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sat, 22 Aug 2015 20:05:54 +0200 Subject: Tweak some examples. "Area man/woman" is confusing to people not familiar with the conventions of American journalism (like me). --- docs/topics/db/queries.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') 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 -- cgit v1.3