mirumee / django-prices

Django fields for the prices module
158 stars 53 forks source link

Problem rendering number value on a form #69

Closed leau2001 closed 5 years ago

leau2001 commented 6 years ago

Hi,

i try to used django_prices... work well, except when rendering form number ...

<input type="number" name="price_override" value="39,00" step="any" id="id_price_override" /> EUR

In France, value 39,00 is not a number .. how to pass "39.00" value to my form ?

Thx for help lo

patrys commented 6 years ago

I'm not sure I follow. Last time I checked France used comma as a decimal separator. Are you saying that's incorrect?

leau2001 commented 6 years ago

Hi the problem is not from django-prices ;) ... only change settings.py USE_I18N = False, USE_L10N = False and it was OK .... thx for answer