evonove / django-money-rates

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

Use Python importlib for compatibility with Django 1.9 #11

Closed jordanjambazov closed 7 years ago

jordanjambazov commented 8 years ago

When upgrading to Django 1.9, I had some issues with django-money-rates, that were related to importlib usage, which was deprecated in Django 1.9.

The fix is a one liner, but is pretty important IMO. Please check the PO and let me know if you have any questions.

dskarataev commented 8 years ago

@synasius @AlessandroVeracchi please upgrade your CI and use Python 3.5 there instead of Python 3.3. Importlib was added in the version of Python 3.4.

thanks

Psykopear commented 7 years ago

Thank you for the pr, we have fixed it in master already, so I'll close this