Browse Source

Fixed typo in docs/ref/models/expressions.txt.

Paolo Melchiorre 8 years ago
parent
commit
5890d6ab03
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/ref/models/expressions.txt

+ 1 - 1
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: