1👍
✅
Format localization is a feature of Django.
You can turn it off for your whole project by setting USE_L10N
to False
in your settings, or just in that particular case, with unlocalize
template filter:
{% load l10n %}
{% for vE in venueEvents %}
{% for v in vE.venues %}
lArr.push([{{ v.location.y|unlocalize }}, {{ v.location.x|unlocalize }}]);
{% endfor %}
{% endfor %}
Source:stackexchange.com