diff options
Diffstat (limited to 'django/contrib/postgres/search.py')
-rw-r--r-- | django/contrib/postgres/search.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/django/contrib/postgres/search.py b/django/contrib/postgres/search.py index 635a715250..9cd79623b3 100644 --- a/django/contrib/postgres/search.py +++ b/django/contrib/postgres/search.py @@ -99,8 +99,6 @@ class SearchQueryCombinable: 'SearchQuery can only be combined with other SearchQuerys, ' 'got {}.'.format(type(other)) ) - if not self.config == other.config: - raise TypeError("SearchQuery configs don't match.") if reversed: return CombinedSearchQuery(other, connector, self, self.config) return CombinedSearchQuery(self, connector, other, self.config) |