We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5f89ed commit fa7f8bdCopy full SHA for fa7f8bd
CHANGES
@@ -5,7 +5,7 @@ CHANGELOG
5
0.13.5 (unreleased)
6
-------------------
7
8
-- Nothing changed yet.
+* Prevent SRID download when default is used
9
10
11
0.13.4 (2014-06-13)
leaflet/templatetags/leaflet_tags.py
@@ -40,7 +40,7 @@ def leaflet_js(plugins=None):
40
with_forms = PLUGIN_FORMS in plugin_names or PLUGIN_ALL in plugin_names
41
return {
42
"DEBUG": settings.TEMPLATE_DEBUG,
43
- "SRID": str(SRID),
+ "SRID": str(SRID) if SRID else None,
44
"PLUGINS_JS": _get_all_resources_for_plugins(plugin_names, 'js'),
45
"with_forms": with_forms
46
}
0 commit comments