mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
[1.11.x] Fixed typo in docs/ref/models/expressions.txt.
Backport of 5890d6ab03 from master
This commit is contained in:
committed by
Tim Graham
parent
fb55247d59
commit
a69fc396e4
@@ -558,7 +558,7 @@ within the last day::
|
||||
... post=OuterRef('pk'),
|
||||
... created_at__gte=one_day_ago,
|
||||
... )
|
||||
>>> Post.objects.annotate(recent_comment=Exists(recent_comments)
|
||||
>>> Post.objects.annotate(recent_comment=Exists(recent_comments))
|
||||
|
||||
On PostgreSQL, the SQL looks like:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user