美文网首页
django中提示 TemplateSyntaxError

django中提示 TemplateSyntaxError

作者: wangcc_sd | 来源:发表于2020-02-28 13:38 被阅读0次
image.png

If you have any of the following in your html:

{% load staticfiles %}

{% load static from staticfiles %}

{% load adminstatic %}

You should replace the tag with simply:(仅所有.html文件)

{% load static %}


image.png

要注意查看报错

相关文章

网友评论

      本文标题:django中提示 TemplateSyntaxError

      本文链接:https://www.haomeiwen.com/subject/osekhhtx.html