Преглед изворни кода

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

Paolo Melchiorre пре 8 година
родитељ
комит
5890d6ab03
1 измењених фајлова са 1 додато и 1 уклоњено
  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: