Skip to content

Commit

Permalink
Refs #25284 -- Corrected an obsolete implicit __in lookup example.
Browse files Browse the repository at this point in the history
Thanks IRC alias rpkilby for the report.
  • Loading branch information
charettes authored and timgraham committed Nov 15, 2016
1 parent 789a02b commit 9e4fd33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/topics/db/queries.txt
Expand Up @@ -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,
),
Expand Down

0 comments on commit 9e4fd33

Please sign in to comment.