Fixed #25835 -- Removed Adaptor alias from spatial operations classes.
This commit is contained in:
parent
2084aed20c
commit
49f1cc54e6
|
@ -16,7 +16,6 @@ class MySQLOperations(BaseSpatialOperations, DatabaseOperations):
|
|||
from_text = 'GeomFromText'
|
||||
|
||||
Adapter = WKTAdapter
|
||||
Adaptor = Adapter # Backwards-compatibility alias.
|
||||
|
||||
gis_operators = {
|
||||
'bbcontains': SpatialOperator(func='MBRContains'), # For consistency w/PostGIS API
|
||||
|
|
|
@ -60,7 +60,6 @@ class OracleOperations(BaseSpatialOperations, DatabaseOperations):
|
|||
disallowed_aggregates = (aggregates.Collect, aggregates.Extent3D, aggregates.MakeLine)
|
||||
|
||||
Adapter = OracleSpatialAdapter
|
||||
Adaptor = Adapter # Backwards-compatibility alias.
|
||||
|
||||
area = 'SDO_GEOM.SDO_AREA'
|
||||
gml = 'SDO_UTIL.TO_GMLGEOMETRY'
|
||||
|
|
|
@ -56,7 +56,6 @@ class PostGISOperations(BaseSpatialOperations, DatabaseOperations):
|
|||
version_regex = re.compile(r'^(?P<major>\d)\.(?P<minor1>\d)\.(?P<minor2>\d+)')
|
||||
|
||||
Adapter = PostGISAdapter
|
||||
Adaptor = Adapter # Backwards-compatibility alias.
|
||||
|
||||
gis_operators = {
|
||||
'bbcontains': PostGISOperator(op='~'),
|
||||
|
|
|
@ -25,7 +25,6 @@ class SpatiaLiteOperations(BaseSpatialOperations, DatabaseOperations):
|
|||
version_regex = re.compile(r'^(?P<major>\d)\.(?P<minor1>\d)\.(?P<minor2>\d+)')
|
||||
|
||||
Adapter = SpatiaLiteAdapter
|
||||
Adaptor = Adapter # Backwards-compatibility alias.
|
||||
|
||||
area = 'Area'
|
||||
centroid = 'Centroid'
|
||||
|
|
Loading…
Reference in New Issue