diff --git a/docs/ref/models/expressions.txt b/docs/ref/models/expressions.txt index 01db103758..66df714cf8 100644 --- a/docs/ref/models/expressions.txt +++ b/docs/ref/models/expressions.txt @@ -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: