Commit a20671c4 authored by Sergey Fedoseev's avatar Sergey Fedoseev Committed by Tim Graham
Browse files

Refs #25645 -- Removed SpatiaLite 3.x compatibility in SpatialiteSpatialRefSys.wkt.

Complements 47f22e82.
parent 71421e8f
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -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

    class Meta:
        app_label = 'gis'