From b62c58d5fccaeedc7bc4a064b4678e4ed1e77581 Mon Sep 17 00:00:00 2001 From: Baptiste Mispelon Date: Fri, 13 Mar 2020 11:21:12 +0100 Subject: [PATCH] Removed unnecessary SearchQuery._combine(). Unnecessary since its introduction in 2d877da85526bad0dad7fd6b1d56b1f924c0116a. --- django/contrib/postgres/search.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/django/contrib/postgres/search.py b/django/contrib/postgres/search.py index 761ce3c70a..c404797a60 100644 --- a/django/contrib/postgres/search.py +++ b/django/contrib/postgres/search.py @@ -193,11 +193,6 @@ class SearchQuery(SearchQueryCombinable, Value): template = '!!({})'.format(template) return template, params - def _combine(self, other, connector, reversed): - combined = super()._combine(other, connector, reversed) - combined.output_field = SearchQueryField() - return combined - def __invert__(self): return type(self)(self.value, config=self.config, invert=not self.invert)