django-currencies

Adds support for multiple currencies as a Django application
Download

django-currencies Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Price:
  • FREE
  • Publisher Name:
  • Panos Laganakos
  • Publisher web site:
  • http://code.google.com/u/panos.laganakos/

django-currencies Tags


django-currencies Description

Adds support for multiple currencies as a Django application django-currencies is a Django app that 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 %}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: {{ |currency: }}i.e.: {{ product.price|currency:"USD" }}or set the CURRENCY context variable with a POST to the included view: {% url currencies_set_currency %} Requirements: · Python · Django


django-currencies Related Software