1. jinja2.exceptions.TemplateNotFound
后台报错:
jinja2.exceptions.TemplateNotFound: index.html
页面报错如下 :
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
2. 解决方案
在项目根目录新增 templates
然后把对应的 html放到里面
然后就正常了