@staticmethod
    def initialize():
        for app in apps.get_app_configs():
            try:
                import_module('{}.settings'.format(app.name))
            except __HOLE__:
                logger.debug('App %s has no settings.py file', app.name)
            else:
                logger.debug(
                    'Imported settings.py file for app %s', app.name
                )
dataset/ETHPy150Open mayan-edms/mayan-edms/mayan/apps/smart_settings/classes.py/Namespace.initialize