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:21 -0500 |
| commit | 82701c3c686e9c3d4fd055ae6e0edadb8829779b (patch) | |
| tree | d86c0d42872e43b19bbe1ef4b4ac5a74d39c48c2 /docs | |
| parent | 0ed5c94156c0434cbc28dc9ed1c5119659a09f36 (diff) | |
[1.9.x] Refs #25284 -- Corrected an obsolete implicit __in lookup example.
Thanks IRC alias rpkilby for the report.
Backport of 9e4fd3301d0a4e40cab8df4b51a2b04274f61da0 from master
Diffstat (limited to 'docs')
| -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 4c07f21829..64ef6e08cd 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, ), |
