django.conf.__path__ - python examples

Here are the examples of the python api django.conf.__path__ taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

0 View Complete Implementation : django.py
Copyright MIT License
Author : kiwicom
def load_submodules():
    """django.conf contains subpackages, that should be loaded upfront to access them via __getattribute__."""
    for _, name, _ in pkgutil.walk_packages(conf.__path__):
        importlib.import_module("django.conf." + name)