summaryrefslogtreecommitdiff
path: root/django/utils/module_loading.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/utils/module_loading.py')
-rw-r--r--django/utils/module_loading.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/utils/module_loading.py b/django/utils/module_loading.py
index cb579e7f8c..28067e8d89 100644
--- a/django/utils/module_loading.py
+++ b/django/utils/module_loading.py
@@ -18,8 +18,8 @@ def cached_import(module_path, class_name):
def import_string(dotted_path):
"""
- Import a dotted module path and return the attribute/class designated by the
- last name in the path. Raise ImportError if the import failed.
+ Import a dotted module path and return the attribute/class designated by
+ the last name in the path. Raise ImportError if the import failed.
"""
try:
module_path, class_name = dotted_path.rsplit(".", 1)