evonove / django-money-rates

Currency conversion for django money
BSD 3-Clause "New" or "Revised" License
90 stars 60 forks source link

"djmoney_rates_ratesource" does not exist #10

Closed tention closed 8 years ago

tention commented 8 years ago

Following errors retrieved when running python manage.py update_rates

CommandError: Error during rate update: relation "djmoney_rates_ratesource" does not exist LINE 1: ..., "djmoney_rates_ratesource"."base_currency" FROM "djmoney_r...

Updated settings.py to use the standard importlib since django.utils.importlib has been removed in 1.9. https://github.com/evonove/django-money-rates/pull/9

Using Django 1.9 and Python 2.7.

I have run migration after performing the quick start and setting up environment, no error found and it run successfully. Verified in postgres DB, the said table "djmoney_rates_ratesource" is not created.

Any help would be appreciated!

tention commented 8 years ago

Tested this in django 1.6 and table was created successfully. Is it compatible issue with 1.9?

tention commented 8 years ago

solved it by running python manage.py makemigrations djmoney_rates