def inner(settings): settings_composer.set(RECURSION_SUCCESS=True) settings_composer.load('settings_composer.tests.settings.recursion.switch_definitions') settings_composer.apply_switch('recursive', 'loading')
import settings_composer settings_composer.apply_switch('debug', 'off') settings_composer.apply_switch('thing', 'on') LOADED_PRODUCTION_SETTINGS = True LOADED_LOCAL_SETTINGS = False DEBUG = False
import settings_composer settings_composer.apply_switch("debug", "on") settings_composer.apply_switch("thing", "off") LOADED_LOCAL_SETTINGS = True LOADED_PRODUCTION_SETTINGS = False