diff --git a/django/contrib/postgres/search.py b/django/contrib/postgres/search.py index 2786251548..dceda6c8da 100644 --- a/django/contrib/postgres/search.py +++ b/django/contrib/postgres/search.py @@ -19,7 +19,7 @@ class SearchVectorExact(Lookup): lhs, lhs_params = self.process_lhs(qn, connection) rhs, rhs_params = self.process_rhs(qn, connection) params = lhs_params + rhs_params - return '%s @@ %s = true' % (lhs, rhs), params + return '%s @@ %s' % (lhs, rhs), params class SearchVectorField(Field):