Refs #26285 -- Removed postgresql's unused DatabaseOperations.fulltext_search_sql().

Should have been removed in 5139832398.
This commit is contained in:
Tim Graham 2017-02-21 13:10:24 -05:00
parent 4045fd56cb
commit 0a0c24581e
1 changed files with 0 additions and 6 deletions

View File

@ -255,9 +255,3 @@ class DatabaseOperations(BaseDatabaseOperations):
rhs_sql, rhs_params = rhs
return "(interval '1 day' * (%s - %s))" % (lhs_sql, rhs_sql), lhs_params + rhs_params
return super().subtract_temporals(internal_type, lhs, rhs)
def fulltext_search_sql(self, field_name):
raise NotImplementedError(
"Add 'django.contrib.postgres' to settings.INSTALLED_APPS to use "
"the search operator."
)