PyFreeBilling integrates currency management, but it could be important to update the exchange rate. Hopefully, an update process has been integrated. How to use it ?
First, you need a valid account at openexchangerates.org and to get your API key.
Second, you have to enter this API key in your local_settings.py file (You find this file in /var/local/venv/pyfreebilling/pyfreebilling/ directory) and modify the value of OPENEXCHANGERATES_APP_ID variable.
After, you can issue this command to update the rate :
python manage.py updatecurrencies
If you want a periodic script to update the rate, you have to add cronjob invoking this script :
/usr/local/venv/bin/python manage.py updatecurrencies -e /usr/local/venv/bin/activate_this.py -p /usr/local/venv/pyfreebilling
You can also add a chroniker task.