Utils¶
-
embed_video.utils.
import_by_path
(dotted_path, error_prefix='')[source]¶ Import a dotted module path and return the attribute/class designated by the last name in the path. Raise ImproperlyConfigured if something goes wrong.
Warning
Deprecated since version Django: 1.6
Function
django.utils.module_loading.import_by_path()
has been added in Django 1.6.Parameters: dotted_path (str) – Path to imported attribute or class Returns: imported attribute or class