jdango映射出错

在这里插入图片描述

解决方法:
在settings.py 文件中加入两行

import os
sys.path.insert(0,os.path.join(BASE_DIR,'apps'))
原创文章 31 获赞 3 访问量 2010

猜你喜欢

转载自blog.csdn.net/qq_43779011/article/details/104493082
今日推荐