Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #1073 from mjtamlyn/import_by_path-docs-fix

Made the example usage of import_by_path less confusing.
  • Loading branch information...
commit da9d626be0ae3ab7d516083936e23aa7f3684e4a 2 parents fa91855 + cde820b
@timgraham timgraham authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/ref/utils.txt
View
4 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``
===========================
Please sign in to comment.
Something went wrong with that request. Please try again.