From 85541ed4b10daa0891fc934a10a107865eed3714 Mon Sep 17 00:00:00 2001 From: Sanj Date: Mon, 29 Aug 2011 05:55:25 +0530 Subject: [PATCH] geometry.geojson --- gazetteer/places/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gazetteer/places/models.py b/gazetteer/places/models.py index 402fcdd..4daf8c1 100644 --- a/gazetteer/places/models.py +++ b/gazetteer/places/models.py @@ -58,7 +58,7 @@ class Feature(models.Model): feature_type_name.short_description = "Feature Type" def get_geojson(self): - geom = json.loads(self.geojson) + geom = json.loads(self.geometry.geojson) properties = { 'id': self.id, 'preferred_name': self.preferred_name