Skip to content

Commit 26e67cd

Browse files
author
Carlton Gibson
committed
Correct reference to import_module
1 parent b323147 commit 26e67cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redis_cache/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def get_servers(location):
5757
def import_class(path):
5858
module_name, class_name = path.rsplit('.', 1)
5959
try:
60-
module = import_module(module_name)
60+
module = importlib.import_module(module_name)
6161
except ImportError:
6262
raise ImproperlyConfigured('Could not find module "%s"' % module_name)
6363
else:

0 commit comments

Comments
 (0)