解决djangp报错:No DjangoTemplates backend is configured

解决djangp报错:No DjangoTemplates backend is configured

报错如图:

解决djangp报错:No DjangoTemplates backend is configured

报错原因说我,未配置DjangoTemplates后端,去看了下我后端模板配成jinja2的模板了。

如图:

解决djangp报错:No DjangoTemplates backend is configured

解决:改为django模板就好了

如图:

解决djangp报错:No DjangoTemplates backend is configured