In one of my django tests, I use django.utils.importlib.import_module
similarly to how it is used here.
On upgrading to django 1.8, I get a deprecation warning
test_views.py:20: RemovedInDjango19Warning: django.utils.importlib will be removed in Django 1.9.
from django.utils.importlib import import_module
Is the recommended practice now to use import_module
from importlib
in the standard library (which seems to work fine)? Or is the recommended practice to avoid using import_module
entirely?