From f710ea8088d50bb4b0ccea8b6f5cdfc0c5a82295 Mon Sep 17 00:00:00 2001 From: Sanj Date: Thu, 25 Aug 2011 17:49:19 +0530 Subject: [PATCH] try extra_js --- gazetteer/places/admin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gazetteer/places/admin.py b/gazetteer/places/admin.py index 0713271..627e7d4 100644 --- a/gazetteer/places/admin.py +++ b/gazetteer/places/admin.py @@ -66,14 +66,14 @@ class FeatureAdmin(admin.OSMGeoAdmin): list_display = ('__unicode__', 'feature_type_name', 'time_start', 'time_end',) list_per_page = 12 list_filter = (FeatureTypeFilter,) - openlayers_url = 'http://openlayers.org/dev/OpenLayers.js' +# openlayers_url = 'http://openlayers.org/dev/OpenLayers.js' openlayers_img_path = None form = featuresForm # map_template = 'gis/admin/osm.html' # default_lon = 72.855211097628413 # default_lat = 19.415775291486027 # default_zoom = 4 -# extra_js = ['http://openstreetmap.org/openlayers/OpenStreetMap.js'] + extra_js = ['http://openstreetmap.org/openlayers/OpenStreetMap.js', 'http://openlayers.org/dev/OpenLayers.js'] class FeatureTypeAdmin(admin.ModelAdmin): list_display = ('code', 'name', 'description', 'feature_class',)