diff --git a/django/contrib/gis/db/backends/spatialite/models.py b/django/contrib/gis/db/backends/spatialite/models.py index 9f60add880b..7dca8896eef 100644 --- a/django/contrib/gis/db/backends/spatialite/models.py +++ b/django/contrib/gis/db/backends/spatialite/models.py @@ -58,10 +58,7 @@ class SpatialiteSpatialRefSys(models.Model, SpatialRefSysMixin): @property def wkt(self): - if hasattr(self, 'srtext'): - return self.srtext - from django.contrib.gis.gdal import SpatialReference - return SpatialReference(self.proj4text).wkt + return self.srtext class Meta: app_label = 'gis'