From a69fc396e47cea763401eaaab92e11a5343e7d3e Mon Sep 17 00:00:00 2001 From: Paolo Melchiorre Date: Wed, 25 Jan 2017 13:46:18 +0100 Subject: [PATCH] [1.11.x] Fixed typo in docs/ref/models/expressions.txt. Backport of 5890d6ab03ebc7dac46ce7d9540b5768785caa34 from master --- docs/ref/models/expressions.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: