silly hacking, openlayers_img_path needs definition in admin.py with bug-fix patch

This commit is contained in:
Sanj 2011-08-21 03:41:26 +05:30
parent f30e5fbd45
commit 069742262b

View File

@ -16,6 +16,7 @@ class FeatureAdmin(admin.GeoModelAdmin):
inlines = [FeatureNamesInline, FeatureRelationInline] inlines = [FeatureNamesInline, FeatureRelationInline]
list_per_page = 500 list_per_page = 500
openlayers_url = 'http://openlayers.org/dev/OpenLayers.js' openlayers_url = 'http://openlayers.org/dev/OpenLayers.js'
openlayers_img_path = None
# 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