as expected, adding to readononly_fields breaks everything; off to hack the django patch.
This commit is contained in:
parent
f5bda38337
commit
5bbcaed101
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user