add geometry to readonly_fields

This commit is contained in:
Sanj 2011-08-31 01:39:44 +05:30
parent b75a1af0d2
commit f5bda38337

View File

@ -81,6 +81,7 @@ class FeatureAdmin(admin.OSMGeoAdmin):
openlayers_url = 'http://openlayers.org/dev/OpenLayers.js'
openlayers_img_path = None
form = featuresForm
readonly_fields = ['geometry']
# map_template = 'gis/admin/osm.html'
# default_lon = 72.855211097628413
# default_lat = 19.415775291486027