1
I Use This!
Activity Not Available

Project Summary

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] %}

Tags

currencies currency django

In a Nutshell, django-currencies...

 Code analysis has not completed

The Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. The source code for this project has been located, but the analysis isn't complete. Feel free to check its progress.

Quick Reference

BSD 4-clause (University of California-Specific)
Permitted

Commercial Use

Modify

Distribute

Place Warranty

Forbidden

Hold Liable

Use Trademarks

Required

Include Copyright

Include License

These details are provided for information only. No information here is legal advice and should not be used as such.

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    use of OSS increased in 65% of companies in 2016
  • ...
    by exploring contributors within projects, you can view details on every commit they have made to that project
  • ...
    65% of companies leverage OSS to speed application development in 2016
  • ...
    check out hot projects on the Open Hub

 Code analysis has not completed

The Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. The source code for this project has been located, but the analysis isn't complete. Feel free to check its progress.

Community Rating

Be the first to rate this project
Click to add your rating
  
Review this Project!