try this in settings.py USE_L10N = False DECIMAL_SEPARATOR = ','
2011/3/15 Siara <pawel.skrzyn...@gmail.com> > Hi > I tried to find solution to my problem on django-developers group and > they send me here ;) > Ant there is my problem: > I'm writing application which return json with data for another app. > I'm from Poland so I set LANGUAGE_CODE = 'pl', the problem is that we > are using coma instead of dot in float numbers, and setting language > to polish changing dot for coma in jsons, but i need dot. > I tried DECIMAL_SEPARATOR = '.' but its doesnt work, it looks like > LANGUAGE_CODE is overwriting DECIMAL_SEPARATOR settings. > So any ideas how to keep polish internatiolization with > DECIMAL_SEPARATOR as dot intead coma ? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.