add geometry to readonly_fields
This commit is contained in:
parent
b75a1af0d2
commit
f5bda38337
|
@ -81,6 +81,7 @@ class FeatureAdmin(admin.OSMGeoAdmin):
|
||||||
openlayers_url = 'http://openlayers.org/dev/OpenLayers.js'
|
openlayers_url = 'http://openlayers.org/dev/OpenLayers.js'
|
||||||
openlayers_img_path = None
|
openlayers_img_path = None
|
||||||
form = featuresForm
|
form = featuresForm
|
||||||
|
readonly_fields = ['geometry']
|
||||||
# map_template = 'gis/admin/osm.html'
|
# map_template = 'gis/admin/osm.html'
|
||||||
# default_lon = 72.855211097628413
|
# default_lon = 72.855211097628413
|
||||||
# default_lat = 19.415775291486027
|
# default_lat = 19.415775291486027
|
||||||
|
|
Loading…
Reference in New Issue
Block a user