parameters: ()
return_statement: return custom_settings
docstring: :return:从crapy的全局设置脚本settings.py中获取所有的设置文件
docstring_summary: :return:从crapy的全局设置脚本settings.py中获取所有的设置文件
docstring_tokens: : return : 从crapy的全局设置脚本settings . py中获取所有的设置文件
function: def get_global_settings():
      """
      :return:从crapy的全局设置脚本settings.py中获取所有的设置文件
      """
      custom_settings = {}
      keys = [item for item in dir(settings) if not item.startswith("__")]
      for key in keys:
          custom_settings[key] = getattr(settings, key)
      return custom_settings
function_tokens: def get_global_settings ( ) : custom_settings = { } keys = [ item for item in dir ( settings ) if not item . startswith ( "__" ) ] for key in keys : custom_settings [ key ] = getattr ( settings , key ) return custom_settings