'Load the settings module pointed to by the environment variable. This
is used the first time settings are needed, if the user hasn\'t
configured settings manually.'

def _setup(self, name=None):

    settings_module = os.environ.get(ENVIRONMENT_VARIABLE)
    if (not settings_module):
        desc = (('setting    %s' % name) if name else 'settings')
        raise ImproperlyConfigured(('Requested    %s,    but    settings    are    not    configured.    You    must    either    define    the    environment    variable    %s    or    call    settings.configure()    before    accessing    settings.' % (desc, ENVIRONMENT_VARIABLE)))
    self._wrapped = Settings(settings_module)
