소스 검색

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