title: Why django uses a comma as decimal separator
body: <p>I am using python 2.6 and django 1.27</p>
  
  <p>my model </p>
  
  <pre><code>class Plan(models.Model):
       price = models.DecimalField(max_digits=5, decimal_places=2,default=0)
       .....
  </code></pre>
  
  <p>in my template i have</p>
  
  <pre><code>{{plan.price}}
  </code></pre>
  
  <p>My problem is that on my local machine i get dot used as separator for example '2.54'<br>
  While on my production machine i get '2,54' - comma is used as separator.<br>
  I would like it to use dot everywhere.</p>
  
  <p>in the django docs 
  <a href="https://docs.djangoproject.com/en/1.2/ref/settings/#decimal-separator" rel="noreferrer">https://docs.djangoproject.com/en/1.2/ref/settings/#decimal-separator</a><br>
  it say there is the "DECIMAL_SEPARATOR" option the default it dot.</p>
  
  <p>btw in both machines</p>
  
  <pre><code>In [2]: from django.conf import settings
  In [3]: print settings.DECIMAL_SEPARATOR
  .
  </code></pre>
  
  <p><strong>SOLUTION:</strong></p>
  
  <p>as @Marcin pointed out<br>
  setting USE_L10N to False on production machine.</p>