def _check_config(self):
        current_path = os.path.relpath(os.getcwd())

        accepted_files = ['orator.yml', 'orator.py']
        for accepted_file in accepted_files:
            config_file = os.path.join(current_path, accepted_file)
            if os.path.exists(config_file):
                if self._handle_config(config_file):
                    return True

        return False
Instanciate a widget with a URL and a list of fields to forward.
dataset/ETHPy150Open sdispater/orator/orator/commands/command.py/Command._check_config--crossover with--dataset/ETHPy150Open yourlabs/django-autocomplete-light/src/dal/widgets.py/WidgetMixin.__init__