mirror of
https://github.com/django/django.git
synced 2025-07-22 04:35:17 +00:00
Refs #25284 -- Corrected an obsolete implicit __in lookup example.
Thanks IRC alias rpkilby for the report.
This commit is contained in:
parent
789a02b31e
commit
9e4fd3301d
1 changed files with 1 additions and 1 deletions
|
@ -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::
|
that were published in 2008, you need to make two queries::
|
||||||
|
|
||||||
Blog.objects.exclude(
|
Blog.objects.exclude(
|
||||||
entry=Entry.objects.filter(
|
entry__in=Entry.objects.filter(
|
||||||
headline__contains='Lennon',
|
headline__contains='Lennon',
|
||||||
pub_date__year=2008,
|
pub_date__year=2008,
|
||||||
),
|
),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue