def from_module_name(self, name):
        module = import_module(name)
        return self.from_object(module)
Load settings attributes from a Python module
dataset/ETHPy150Open openelections/openelections-core/openelex/config.py/Settings.from_module_name