django中提示 TemplateSyntaxError
2020-02-28 本文已影响0人
wangcc_sd

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 %}

要注意查看报错