From 5bbcaed101a7b4883d0c84c91fc8e9df274c63a5 Mon Sep 17 00:00:00 2001 From: Sanj Date: Wed, 31 Aug 2011 01:41:27 +0530 Subject: [PATCH] as expected, adding to readononly_fields breaks everything; off to hack the django patch. --- gazetteer/places/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gazetteer/places/admin.py b/gazetteer/places/admin.py index d3ac14a..9736df0 100644 --- a/gazetteer/places/admin.py +++ b/gazetteer/places/admin.py @@ -81,7 +81,7 @@ class FeatureAdmin(admin.OSMGeoAdmin): openlayers_url = 'http://openlayers.org/dev/OpenLayers.js' openlayers_img_path = None form = featuresForm - readonly_fields = ['geometry'] +# readonly_fields = ['geometry'] # map_template = 'gis/admin/osm.html' # default_lon = 72.855211097628413 # default_lat = 19.415775291486027