浏览代码

# fix:修复staticfile导致的错误,将staticfile替换为static

yang yi 2 周之前
父节点
当前提交
bcec3b38c1

+ 1 - 1
pythonweb/aboutApp/templates/survey.html

@@ -1,5 +1,5 @@
 {% extends "base.html" %}
-{% load staticfiles %}
+{% load static %}
 
 {% block title %}
 企业概况

+ 1 - 1
pythonweb/homeApp/templates/home.html

@@ -1,4 +1,4 @@
-{% load staticfiles %}
+{% load static %}
 <!DOCTYPE html>
 <html lang="zh-cn">
 

+ 1 - 1
pythonweb/scienceApp/templates/science.html

@@ -1,5 +1,5 @@
 {% extends "base.html" %}
-{% load staticfiles %}
+{% load static %}
 
 {% block title %}
 科研基地

+ 1 - 1
pythonweb/templates/base.html

@@ -1,4 +1,4 @@
-{% load staticfiles %}
+{% load static %}
 <!DOCTYPE html>
 <html lang="zh-cn">