mirror of
https://github.com/django/django.git
synced 2025-07-28 15:44:20 +00:00
Fixed #33675 -- Dropped support for PostgreSQL 10 and PostGIS 2.4.
This commit is contained in:
parent
9d04711261
commit
37470bbd90
11 changed files with 18 additions and 30 deletions
|
@ -7,7 +7,7 @@ transcript.
|
|||
"""
|
||||
from django.db import connection
|
||||
from django.db.models import F, Value
|
||||
from django.test import modify_settings, skipUnlessDBFeature
|
||||
from django.test import modify_settings
|
||||
|
||||
from . import PostgreSQLSimpleTestCase, PostgreSQLTestCase
|
||||
from .models import Character, Line, LineSavedSearch, Scene
|
||||
|
@ -265,7 +265,6 @@ class MultipleFieldsTest(GrailTestData, PostgreSQLTestCase):
|
|||
)
|
||||
self.assertSequenceEqual(searched, [self.french])
|
||||
|
||||
@skipUnlessDBFeature("has_websearch_to_tsquery")
|
||||
def test_web_search(self):
|
||||
line_qs = Line.objects.annotate(search=SearchVector("dialogue"))
|
||||
searched = line_qs.filter(
|
||||
|
@ -290,7 +289,6 @@ class MultipleFieldsTest(GrailTestData, PostgreSQLTestCase):
|
|||
)
|
||||
self.assertSequenceEqual(searched, [self.verse0, self.verse1])
|
||||
|
||||
@skipUnlessDBFeature("has_websearch_to_tsquery")
|
||||
def test_web_search_with_config(self):
|
||||
line_qs = Line.objects.annotate(
|
||||
search=SearchVector("scene__setting", "dialogue", config="french"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue