django-currencies allows you to define different currencies, and includes template tags/filters to allow easy conversion between them.
Once you have everything set up (read the included INSTALL.txt and docs/overview.rst), you will be able to use the following code in your templates
{% change_currency [price] [currency_code] %}i.e:
{% change_currency product.price "USD" %}
# or if we have the currencies.context_processors.currencies
# available:
{% change_currency product.price CURRENCY.code %}or use the filter:
{{ [price]|currency:[currency] }}i.e.:
{{ product.price|currency:"USD" }}or set the CURRENCY context variable with a POST to the included view:
{% url currencies_set_currency [currency] %}
Commercial Use
Modify
Distribute
Place Warranty
Hold Liable
Use Trademarks
Include Copyright
Include License
These details are provided for information only. No information here is legal advice and should not be used as such.