摘要:
settings.py : 一个 python语法 写满 变量 的文件。1. 启动主程序中,可能是对 一段我不太明白的代码 的解释:On the server (mod_wsgi)In your live server environment, you’ll need to tell your WSGI application what settings file to use. Do that withos.environ:import osos.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings'Read 阅读全文