Fixed #25835 -- Removed Adaptor alias from spatial operations classes.

This commit is contained in:
Sergey Fedoseev 2015-11-30 12:57:44 +05:00 committed by Tim Graham
parent 2084aed20c
commit 49f1cc54e6
4 changed files with 0 additions and 4 deletions

View File

@ -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

View File

@ -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'

View File

@ -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='~'),

View File

@ -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'