Undocumented
Function | import_string |
Import a dotted module path and return the attribute/class designated by the last name in the path. Raise ImportError if the import failed. |
Function | autodiscover_modules |
Auto-discover INSTALLED_APPS modules and fail silently when not present. This forces an import on them to register any admin bits they may want. |
Function | cached_import |
Undocumented |
Function | module_dir |
Find the name of the directory that contains a module, if possible. |
Function | module_has_submodule |
See if 'module' is in 'package'. |
Auto-discover INSTALLED_APPS modules and fail silently when not present. This forces an import on them to register any admin bits they may want.
You may provide a register_to keyword parameter as a way to access a registry. This register_to object must have a _registry instance variable to access it.