GoogleCloudPlatform / webapp2

webapp2 is a framework for Google App Engine
https://webapp2.readthedocs.org
Other
141 stars 63 forks source link

Ability to set default currency in i18n module #78

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
It would be nice to set/override a default currency in the i18n module.

In the existing format_currency method:
def format_currency(self, number, currency, format=None):

the currency argument is required. It would be nice if could be picked up form 
a default config

Original issue reported on code.google.com by mar...@overdijk.me on 30 Mar 2013 at 12:43