Hi everybody there! :-)
I have a decimal field and I wish I could use a comma as a separator
between the integer and the decimal part (according to my country
habit).
How do you think I can manage that?
I found this snippet [0], which seems promising. The thing is, I need
to use that field in m
Mauro,
On Jan 31, 2008 10:23 AM, Mauro Sánchez <[EMAIL PROTECTED]> wrote:
>
> Hello.
> How can I establish the comma ',' as the decimal separator?
> Is there any config file where I should set it up?
> Thanks.
You can try with the decimalfmt filter of Christ
Mauro Sánchez wrote:
> Hello.
> How can I establish the comma ',' as the decimal separator?
> Is there any config file where I should set it up?
> Thanks.
> Mauro.
>
> >
>
>
You should look at the locale configuration
ARIEL
--~--~-~--~~--
Hello.
How can I establish the comma ',' as the decimal separator?
Is there any config file where I should set it up?
Thanks.
Mauro.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users&quo
of the local_settings.py and added
>
> >>> CURRENCY = 'EURO'
>
> >>> But that does not seem to work, my product prices are still
> >>> displayed
> >>> with the $ symbol.
>
> >>> On the other hand I have two other qu
gt;>> I've tried many things with no avail to make appear the Euro symbol.
>>> I've put the line
>>> # encoding: utf-8
>>> at the beginning of the local_settings.py and added
>>
>>> CURRENCY = 'EURO'
>>
>>> But that does
= 'EURO'
>
> > But that does not seem to work, my product prices are still displayed
> > with the $ symbol.
>
> > On the other hand I have two other questions:
> > 1- how to establish the comma ',' as
g: utf-8
> at the beginning of the local_settings.py and added
>
> CURRENCY = 'EURO'
>
> But that does not seem to work, my product prices are still displayed
> with the $ symbol.
>
> On the other hand I have two other questions:
> 1- how to establish the com
8 matches
Mail list logo