def settings_module(module):
 os.environ['DJANGO_SETTINGS_MODULE'] = module

def settings_module ( module ) : os . environ [ 'DJANGO_SETTINGS_MODULE' ] = module
set django_settings_module shell environment variable to module .