From 5890d6ab03ebc7dac46ce7d9540b5768785caa34 Mon Sep 17 00:00:00 2001 From: Paolo Melchiorre Date: Wed, 25 Jan 2017 13:46:18 +0100 Subject: [PATCH] Fixed typo in docs/ref/models/expressions.txt. --- 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 4ba63ba928..f53f791ffc 100644 --- a/docs/ref/models/expressions.txt +++ b/docs/ref/models/expressions.txt @@ -551,7 +551,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: