title: Number formatting in Django template
body: <p>I have an dictionary as follows:</p>
  
  <pre><code>{'warranty': '1 jaar', 'delivery': u'2017-06-13', 'to_pay': 9000.0, 'deposit': 1000.0}
  </code></pre>
  
  <p>I send it to Django template and I want to show <code>to_pay</code> as <code>9.000,00</code>. But I can't. </p>
  
  <p>I have </p>
  
  <pre><code>{% load humanize %}
  {% load i18n %}
  {% load l10n %}
  </code></pre>
  
  <p>at the top of the template and I have </p>
  
  <pre><code>USE_I18N = True
  USE_L10N = True
  </code></pre>
  
  <p>in settings.py</p>
  
  <p>What have I tried:</p>
  
  <pre><code>{{ car.sale.to_pay|floatformat:2|intcomma }} // 9,000,00
  {{ car.sale.to_pay|intcomma }} // 9.000,0  almost good, but I need two zeroes after comma
  {{ car.sale.to_pay|localize }} // 9000,0
  </code></pre>
  
  <p>Any idea?</p>