mirror of
https://github.com/django/django.git
synced 2025-10-24 22:26:08 +00:00
Merge pull request #1262 from batisteo/ticket-20591
Fixed #20591: added version in docs for utils.module_loading.import_by_path
This commit is contained in:
@@ -659,6 +659,8 @@ Functions for working with Python modules.
|
|||||||
|
|
||||||
.. function:: import_by_path(dotted_path, error_prefix='')
|
.. function:: import_by_path(dotted_path, error_prefix='')
|
||||||
|
|
||||||
|
.. versionadded:: 1.6
|
||||||
|
|
||||||
Imports a dotted module path and returns the attribute/class designated by
|
Imports a dotted module path and returns the attribute/class designated by
|
||||||
the last name in the path. Raises
|
the last name in the path. Raises
|
||||||
:exc:`~django.core.exceptions.ImproperlyConfigured` if something goes
|
:exc:`~django.core.exceptions.ImproperlyConfigured` if something goes
|
||||||
|
|||||||
Reference in New Issue
Block a user