diff options
| author | Tim Graham <timograham@gmail.com> | 2025-12-28 08:07:11 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-28 14:07:11 +0100 |
| commit | 4afe463950453b6d71f0c98f23fd0f1f2bd341bc (patch) | |
| tree | 04d84e48d385a4e543e3c50ad0df420a4620fab8 /django | |
| parent | da19b3897dc7c2e99b120d40322b36b4f1a09fe8 (diff) | |
Added some skips to GIS tests.
Also replaced some DatabaseFeatures.supports_<foo>_lookup attributes
with @skipUnlessGISLookup.
Diffstat (limited to 'django')
| -rw-r--r-- | django/contrib/gis/db/backends/base/features.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/django/contrib/gis/db/backends/base/features.py b/django/contrib/gis/db/backends/base/features.py index d1e2211bdc..ebdf8617cc 100644 --- a/django/contrib/gis/db/backends/base/features.py +++ b/django/contrib/gis/db/backends/base/features.py @@ -63,14 +63,6 @@ class BaseSpatialFeatures: empty_intersection_returns_none = True @property - def supports_bbcontains_lookup(self): - return "bbcontains" in self.connection.ops.gis_operators - - @property - def supports_contained_lookup(self): - return "contained" in self.connection.ops.gis_operators - - @property def supports_crosses_lookup(self): return "crosses" in self.connection.ops.gis_operators @@ -79,10 +71,6 @@ class BaseSpatialFeatures: return self.has_Distance_function @property - def supports_dwithin_lookup(self): - return "dwithin" in self.connection.ops.gis_operators - - @property def supports_relate_lookup(self): return "relate" in self.connection.ops.gis_operators |
