diff options
| author | Tim Graham <timograham@gmail.com> | 2013-05-16 04:14:33 -0700 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-05-16 04:14:33 -0700 |
| commit | da9d626be0ae3ab7d516083936e23aa7f3684e4a (patch) | |
| tree | dcbe316c4575c5b621f8dfe26ffad07a0e9d3c4c /docs | |
| parent | fa91855967d1b945d5e2a02fc31cfec87dc4dbd6 (diff) | |
| parent | cde820bd31e810d61cc2c9b09cc2ec7d5ddbf165 (diff) | |
Merge pull request #1073 from mjtamlyn/import_by_path-docs-fix
Made the example usage of import_by_path less confusing.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/utils.txt | 4 |
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`` =========================== |
