def _handle_config(self, config_file):
        config = self._get_config(config_file)

        self.resolver = DatabaseManager(config.get('databases', config.get('DATABASES', {})))

        return True
Check and handle a config file.
dataset/ETHPy150Open sdispater/orator/orator/commands/command.py/Command._handle_config