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

This commit is contained in:
Paolo Melchiorre 2017-01-25 13:46:18 +01:00 committed by Tim Graham
parent 2366100872
commit 5890d6ab03
1 changed files with 1 additions and 1 deletions

View File

@ -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: