summaryrefslogtreecommitdiff
path: root/apps/blog/admin.py
diff options
context:
space:
mode:
authorluxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f <luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f>2010-03-13 16:33:59 +0000
committerluxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f <luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f>2010-03-13 16:33:59 +0000
commit9dcc9b71adc118abb1f3191bd9753c9e97c839cb (patch)
treeb492a446ecc421983534f4d6bd3803b13a652394 /apps/blog/admin.py
parentef35853e54e1572dc1de4fd2311d00dfd16e4f75 (diff)
added formating for new entries
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