mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
Removed unused methods in GIS adapter.
This commit is contained in:
parent
a10b4c010a
commit
c7679f1b58
@ -14,6 +14,3 @@ class WKTAdapter(object):
|
||||
|
||||
def __str__(self):
|
||||
return self.wkt
|
||||
|
||||
def prepare_database_save(self, unused):
|
||||
return self
|
||||
|
@ -42,6 +42,3 @@ class PostGISAdapter(object):
|
||||
"Returns a properly quoted string for use in PostgreSQL/PostGIS."
|
||||
# psycopg will figure out whether to use E'\\000' or '\000'
|
||||
return str('ST_GeomFromEWKB(%s)' % self._adapter.getquoted().decode())
|
||||
|
||||
def prepare_database_save(self, unused):
|
||||
return self
|
||||
|
Loading…
Reference in New Issue
Block a user