Requires {% load l10n %}
Add {% load l10n %} near the top of any template that
uses |unlocalize. Without it Django does not
know the name and raises TemplateSyntaxError.
Formats one value without locale-aware formatting.
Template
{% load l10n %}
<input type="number" value="{{ price|unlocalize }}">
This is the one that saves you: a number in a form field, a data attribute, or a JavaScript literal has to keep its dot decimal separator, and a locale that uses a comma would otherwise break it.
