summaryrefslogtreecommitdiff
path: root/django/contrib/gis/admin/options.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/contrib/gis/admin/options.py')
-rw-r--r--django/contrib/gis/admin/options.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/gis/admin/options.py b/django/contrib/gis/admin/options.py
index 4b99ddf354..4ae61661d3 100644
--- a/django/contrib/gis/admin/options.py
+++ b/django/contrib/gis/admin/options.py
@@ -80,7 +80,7 @@ class GeoModelAdmin(ModelAdmin):
collection_type = 'None'
class OLMap(self.widget):
- template = self.map_template
+ template_name = self.map_template
geom_type = db_field.geom_type
wms_options = ''