![](https://img.haomeiwen.com/i15803400/d318ff531217148a.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 %}
![](https://img.haomeiwen.com/i15803400/fac7dbe4d7ae00ce.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 %}
要注意查看报错
本文标题:django中提示 TemplateSyntaxError
本文链接:https://www.haomeiwen.com/subject/osekhhtx.html
网友评论