解决办法: 在setting.py 中找到,TEMPLATES模块,在其中的DIR中加入自己template模块的路径即可。 转载于:https://www.cnblogs.com/tingyu-yudeyinji/p/4726273.html