summaryrefslogtreecommitdiff
path: root/apps/blog/admin.py
diff options
context:
space:
mode:
Diffstat (limited to 'apps/blog/admin.py')
-rw-r--r--apps/blog/admin.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/blog/admin.py b/apps/blog/admin.py
index 6f1cbb9..af94079 100644
--- a/apps/blog/admin.py
+++ b/apps/blog/admin.py
@@ -28,7 +28,8 @@ class EntryAdmin(OSMGeoAdmin):
class Media:
js = ['/media/admin/custom/model.js']
- #extra_js = [GMAP.api_url + GMAP.key]
+ extra_js = [GMAP.api_url + GMAP.key]
+ map_template = 'gis/admin/google.html'
#map_template = 'gis/admin/google.html'
# Default GeoDjango OpenLayers map options
# Uncomment and modify as desired