On 8/05/2014 8:21 AM, lu zou wrote:
in default.py files as below ,how to set the money format into
Australian dollars,how to change the file?
thanks!!
___________________________
register_setting(
name="SHOP_CURRENCY_LOCALE",
label=_("Currency Locale"),
description="Controls the formatting of monetary values according to "
"the locale module in the python standard library. If an empty "
"string is used, will fall back to the system's locale.",
editable=False,
default="",
)
In settings.py or local_settings.py, do this:
SHOP_CURRENCY_LOCALE = "en_AU"
You may need to also ensure that the Linux system that the app is
running on has the AU locale available.
I did this to enable it on an Ubuntu 12.04 Server install:
sudo locale-gen en_AU
sudo dpkg-reconfigure locales
HTH. HAND.
Seeya. Danny.
--
Email: [email protected]
--
You received this message because you are subscribed to the Google Groups "Mezzanine
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.