mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Removed unused methods in GIS adapter.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user