From c7679f1b587a1c1e95c7cf8b41db374d11b5b3d8 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Thu, 9 Apr 2015 08:57:29 -0400 Subject: [PATCH] Removed unused methods in GIS adapter. --- django/contrib/gis/db/backends/base/adapter.py | 3 --- django/contrib/gis/db/backends/postgis/adapter.py | 3 --- 2 files changed, 6 deletions(-) diff --git a/django/contrib/gis/db/backends/base/adapter.py b/django/contrib/gis/db/backends/base/adapter.py index ca77124351..a4aa2b656f 100644 --- a/django/contrib/gis/db/backends/base/adapter.py +++ b/django/contrib/gis/db/backends/base/adapter.py @@ -14,6 +14,3 @@ class WKTAdapter(object): def __str__(self): return self.wkt - - def prepare_database_save(self, unused): - return self diff --git a/django/contrib/gis/db/backends/postgis/adapter.py b/django/contrib/gis/db/backends/postgis/adapter.py index 172133693b..842afc9249 100644 --- a/django/contrib/gis/db/backends/postgis/adapter.py +++ b/django/contrib/gis/db/backends/postgis/adapter.py @@ -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