Bladeren bron

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

yang yi 2 weken geleden
bovenliggende
commit
e0e73be9b7
2 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  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}}