Don't use depreciated django.utils.importlib.

Change-Id: I97192492cc8c952e0342a988c269a4f48b41507c