diff options
| author | Simon Charette <charettes@users.noreply.github.com> | 2016-11-15 08:25:02 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-11-15 08:25:02 -0500 |
| commit | 9e4fd3301d0a4e40cab8df4b51a2b04274f61da0 (patch) | |
| tree | dbc006c08c238c673332999ad4cc94577aa4b386 | |
| parent | 789a02b31e189b762f35d209006a2f09aaeaa0d2 (diff) | |
Refs #25284 -- Corrected an obsolete implicit __in lookup example.
Thanks IRC alias rpkilby for the report.
| -rw-r--r-- | docs/topics/db/queries.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/db/queries.txt b/docs/topics/db/queries.txt index ea203c4ea0..baea7c02ac 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, ), |
