Skip to content

Commit fa7f8bd

Browse files
committed
Prevent SRID download when default is used
1 parent b5f89ed commit fa7f8bd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGES

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ CHANGELOG
55
0.13.5 (unreleased)
66
-------------------
77

8-
- Nothing changed yet.
8+
* Prevent SRID download when default is used
99

1010

1111
0.13.4 (2014-06-13)

leaflet/templatetags/leaflet_tags.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def leaflet_js(plugins=None):
4040
with_forms = PLUGIN_FORMS in plugin_names or PLUGIN_ALL in plugin_names
4141
return {
4242
"DEBUG": settings.TEMPLATE_DEBUG,
43-
"SRID": str(SRID),
43+
"SRID": str(SRID) if SRID else None,
4444
"PLUGINS_JS": _get_all_resources_for_plugins(plugin_names, 'js'),
4545
"with_forms": with_forms
4646
}

0 commit comments

Comments
 (0)