[1.9.x] Refs #25284 -- Corrected an obsolete implicit __in lookup example.

Thanks IRC alias rpkilby for the report.

Backport of 9e4fd3301d from master
This commit is contained in:
Simon Charette 2016-11-15 08:25:02 -05:00 committed by Tim Graham
parent 0ed5c94156
commit 82701c3c68
1 changed files with 1 additions and 1 deletions

View File

@ -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,
),