summaryrefslogtreecommitdiff
path: root/django/contrib/postgres/search.py
diff options
context:
space:
mode:
authorBaptiste Mispelon <bmispelon@gmail.com>2020-03-13 11:21:12 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-03-13 11:22:51 +0100
commitb62c58d5fccaeedc7bc4a064b4678e4ed1e77581 (patch)
treecad797c3162e8836617fd9dd646fa54f0bc35369 /django/contrib/postgres/search.py
parent40a64dd1e24d45f8e00a55b22a5174b8f1359b5c (diff)
downloaddjango-b62c58d5fccaeedc7bc4a064b4678e4ed1e77581.tar.gz
Removed unnecessary SearchQuery._combine().
Unnecessary since its introduction in 2d877da85526bad0dad7fd6b1d56b1f924c0116a.
Diffstat (limited to 'django/contrib/postgres/search.py')
-rw-r--r--django/contrib/postgres/search.py5
1 files changed, 0 insertions, 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)