summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/utils.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt
index a7d5b6690e..14ae9aa9b8 100644
--- a/docs/ref/utils.txt
+++ b/docs/ref/utils.txt
@@ -659,11 +659,11 @@ Functions for working with Python modules.
wrong. For example::
from django.utils.module_loading import import_by_path
- import_by_path = import_by_path('django.utils.module_loading.import_by_path')
+ ImproperlyConfigured = import_by_path('django.core.exceptions.ImproperlyConfigured')
is equivalent to::
- from django.utils.module_loading import import_by_path
+ from django.core.exceptions import ImproperlyConfigured
``django.utils.safestring``
===========================