mirror of
https://github.com/django/django.git
synced 2025-01-10 10:26:34 +00:00
[1.10.x] Fixed typos in docs/ref/contrib/postgres/search.txt
Backport of 46e2010460
from master
This commit is contained in:
parent
bec0faa154
commit
8c385b7697
@ -217,7 +217,7 @@ Usage example::
|
||||
>>> Author.objects.annotate(
|
||||
... similarity=TrigramSimilarity('name', test),
|
||||
... ).filter(similarity__gt=0.3).order_by('-similarity')
|
||||
[<Author: Katy Stephens>, <Author: Stephen Keats>]
|
||||
[<Author: Katy Stevens>, <Author: Stephen Keats>]
|
||||
|
||||
``TrigramDistance``
|
||||
-------------------
|
||||
@ -238,4 +238,4 @@ Usage example::
|
||||
>>> Author.objects.annotate(
|
||||
... distance=TrigramDistance('name', test),
|
||||
... ).filter(distance__lte=0.7).order_by('distance')
|
||||
[<Author: Katy Stephens>, <Author: Stephen Keats>]
|
||||
[<Author: Katy Stevens>, <Author: Stephen Keats>]
|
||||
|
Loading…
Reference in New Issue
Block a user