1
0
mirror of https://github.com/django/django.git synced 2025-03-02 13:04:24 +00:00

Removed unused SpatialOperations.from_wkb.

Unused since its introduction in ff60c5f9de3e8690d1e86f3e9e3f7248a15397c8.
This commit is contained in:
Tim Graham 2017-07-26 20:03:41 -04:00 committed by GitHub
parent c91dcd36fc
commit ef9344b3a5
3 changed files with 0 additions and 6 deletions
django/contrib/gis/db/backends

@ -38,7 +38,6 @@ class BaseSpatialOperations:
# Constructors
from_text = False
from_wkb = False
# Default conversion functions for aggregates; will be overridden if implemented
# for the spatial backend.

@ -36,10 +36,6 @@ class MySQLOperations(BaseSpatialOperations, DatabaseOperations):
def select(self):
return self.geom_func_prefix + 'AsText(%s)'
@cached_property
def from_wkb(self):
return self.geom_func_prefix + 'GeomFromWKB'
@cached_property
def from_text(self):
return self.geom_func_prefix + 'GeomFromText'

@ -29,7 +29,6 @@ class SpatiaLiteOperations(BaseSpatialOperations, DatabaseOperations):
unionagg = 'GUnion'
from_text = 'GeomFromText'
from_wkb = 'GeomFromWKB'
select = 'AsText(%s)'
gis_operators = {