How to disable formatting for FloatField in template for Django
You can now force the value to be printed without localization.
{% load l10n %}
{{ value|unlocalize }}
Taken from https://docs.djangoproject.com/en/2.2/topics/i18n/formatting/#std:templatefilter-unlocalize
I have a problem rendering lat and lng values. My solution was:
{{ value|safe }}
{{ float_var|stringformat:"f" }}