mirror of https://github.com/django/django.git
Removed unnecessary SearchQuery._combine().
Unnecessary since its introduction in 2d877da855
.
This commit is contained in:
parent
40a64dd1e2
commit
b62c58d5fc
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue