def _generate_settings(self, files=None): files = files or [] factory = Factory(self.module) settings, paths = factory.make_settings( settings=self.settings, additional_modules=files, ) settings['paths'] = paths return settings, paths
def get_settings(self, module, settings={}, additional_modules=None): additional_modules = additional_modules or [ ('local', False), ] self.factory = Factory('%s.application' % (module)) settings, paths = self.factory.make_settings( settings=settings, additional_modules=additional_modules,) settings['paths'] = paths return settings, paths