热门
Django项目启动时,报错:
OS模块没有定义
解决:找到项目中的 settings.py 文件,红色框表示OS模块配值
settings.py
在此文件中顶部添加
import os
重新启动 manage.py