django中提示 TemplateSyntaxError

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)