From fdd7a355bf053217d25b8d2189e37069c1304283 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Mon, 29 Jul 2013 15:50:58 +0200 Subject: Deprecated django.utils.importlib This was a shim for pre-Python 2.7 support. --- django/utils/module_loading.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'django/utils/module_loading.py') diff --git a/django/utils/module_loading.py b/django/utils/module_loading.py index ede585e562..359982e6ba 100644 --- a/django/utils/module_loading.py +++ b/django/utils/module_loading.py @@ -1,10 +1,10 @@ import imp +from importlib import import_module import os import sys from django.core.exceptions import ImproperlyConfigured from django.utils import six -from django.utils.importlib import import_module def import_by_path(dotted_path, error_prefix=''): -- cgit v1.3