peopledoc / django-mail-factory

Django Mail Manager
Other
72 stars 17 forks source link

Use standard library instead of django.utils.importlib #63

Closed wo0dyn closed 8 years ago

wo0dyn commented 8 years ago

django.utils.importlib is a compatibility library for when Python 2.6 was still supported. It has been obsolete since Django 1.7, which dropped support for Python 2.6, and is removed in 1.9 per the deprecation cycle. Use Python's import_module function instead — [1]

References: [1] http://stackoverflow.com/a/32763639 [2] https://docs.djangoproject.com/en/1.9/internals/deprecation/#deprecation-removed-in-1-9

Natim commented 8 years ago

LGTM

k4nar commented 8 years ago

LGTM

wo0dyn commented 8 years ago

Thank you guys!