summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Charette <charettes@users.noreply.github.com>2016-11-15 08:25:02 -0500
committerTim Graham <timograham@gmail.com>2016-11-15 08:25:16 -0500
commit65cdded2c9ab9987eae117de37a24c752c9ba185 (patch)
tree36ef7fcee0ad5f0c58b28780bdfbae6399f43819
parent87e10af485083fd672394ba446bb4483bd833d32 (diff)
[1.10.x] Refs #25284 -- Corrected an obsolete implicit __in lookup example.
Thanks IRC alias rpkilby for the report. Backport of 9e4fd3301d0a4e40cab8df4b51a2b04274f61da0 from master
-rw-r--r--docs/topics/db/queries.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/db/queries.txt b/docs/topics/db/queries.txt
index ecbbf4ab6f..2f00d0608b 100644
--- a/docs/topics/db/queries.txt
+++ b/docs/topics/db/queries.txt
@@ -597,7 +597,7 @@ may not be the same as the entries in the first filter. We are filtering the
that were published in 2008, you need to make two queries::
Blog.objects.exclude(
- entry=Entry.objects.filter(
+ entry__in=Entry.objects.filter(
headline__contains='Lennon',
pub_date__year=2008,
),