Skip to main content

Currencies & echange rates for django projects

Project description

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

Project details


Release history Release notifications

This version
History Node

0.4

History Node

0.3

History Node

0.2

History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-currency_rates-0.4.tar.gz (4.4 kB) Copy SHA256 hash SHA256 Source None May 20, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page