瀏覽代碼

# fix:将staticfile标签替换为static;

yang yi 2 周之前
父節點
當前提交
e0e73be9b7
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      pythonweb/aboutApp/templates/honor.html
  2. 1 1
      pythonweb/productsApp/templates/productList.html

+ 1 - 1
pythonweb/aboutApp/honor.html → pythonweb/aboutApp/templates/honor.html

@@ -1,5 +1,5 @@
 {% extends "base.html" %}
-{% load staticfiles %}
+{% load static %}
 
 {% block title %}
 荣誉资质

+ 1 - 1
pythonweb/productsApp/templates/productList.html

@@ -1,5 +1,5 @@
 {% extends "base.html" %}
-{% load staticfiles %}
+{% load static %}
 
 {% block title %}
 {{productName}}