Fixed typos in docs/ref/contrib/postgres/search.txt

This commit is contained in:
Tom Carrick 2016-07-14 12:52:47 +01:00 committed by Tim Graham
parent 08c723fbae
commit 46e2010460
1 changed files with 2 additions and 2 deletions

View File

@ -217,7 +217,7 @@ Usage example::
>>> Author.objects.annotate( >>> Author.objects.annotate(
... similarity=TrigramSimilarity('name', test), ... similarity=TrigramSimilarity('name', test),
... ).filter(similarity__gt=0.3).order_by('-similarity') ... ).filter(similarity__gt=0.3).order_by('-similarity')
[<Author: Katy Stephens>, <Author: Stephen Keats>] [<Author: Katy Stevens>, <Author: Stephen Keats>]
``TrigramDistance`` ``TrigramDistance``
------------------- -------------------
@ -238,4 +238,4 @@ Usage example::
>>> Author.objects.annotate( >>> Author.objects.annotate(
... distance=TrigramDistance('name', test), ... distance=TrigramDistance('name', test),
... ).filter(distance__lte=0.7).order_by('distance') ... ).filter(distance__lte=0.7).order_by('distance')
[<Author: Katy Stephens>, <Author: Stephen Keats>] [<Author: Katy Stevens>, <Author: Stephen Keats>]