django.template.exceptions.TemplateDoesNotExist: index.html可能原因
TemplateDoesNotExist: index.html问题解决原因路径错误index.html应该包含在templates 底下2 由于我创建Django项目时并没有勾选templates, 然后自己在项目中添加了templates文件夹,因此setting 下没有这句话:‘DIRS’: [os.path.join(BASE_DIR, “templates”)]如果你和...
复制链接