详解Django模版中加载静态文件配置方法 1、settings.INSTALLED_APPS下添加:django.contrib.staticfiles2、settings.py下添加:STATIC_URL='/static/'3、( django加载静态文件