Skip to main content

Django currencies and exchange rates for django projects

You need a key from http://openexchangerates.org/ to get the echange rates

Features

  • Currencies and exchange rates models

  • Exchange rates with diferent rates for diferent dates

  • Load automatically currencies and rates from http://openexchangerates.org/

Installation

  1. Add "currency_rates" directory to your Python path.

  2. Add "currency_rates" to the INSTALLED_APPS tuple found in your settings file.

  3. Add OPENEXCHANGERATES_APP_ID to your setting file with an app key from http://openexchangerates.org/

  4. Run manage.py syncdb to create the new tables or manage.py migrate is you are using South

  5. Run manage.py load_currencies to load currencies from http://openexchangerates.org/

  6. Run manage.py load_rates to load current eschange rates from http://openexchangerates.org/

Migrate to v0.3

On version v0.3 we changed the curency name length from 25 to 50 and we adopted south for the schema migrations.

If you have installed django-currency-rates version v0.1 or v0.2 and want to migrate, first you have to install South update the django-currency-rates app and then you have to execute the first migration as fake with

./manage.py migrate currency_rates 0001_initial --fake
./manage.py migrate currency_rates

Metadata

Release files for django-currency_rates 0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-currency_rates 0.4
File Size Uploaded
django-currency_rates-0.4.tar.gz 4.4 kB Details

Release files / django-currency_rates-0.4.tar.gz

Download URL django-currency_rates-0.4.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2e588cabcb06e3c965bda1c7da778443e100fe0c0b7b2dbbad3497307d048313
BLAKE2b-256 checksum
How to use checksums
8ef636c5f3187e99b1b71a75b007c96b319e27429a36b98a83adbb0a017d066f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.4 This release

1 release file

0.3

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page