Django生产环境 DEBUG = True 静态文件无法加载
修改setting文件增加STATIC_ROOT配置STATIC_ROOT = os.path.join(BASE_DIR, "/static/")修改urls.py文件from django.conf import settingsfrom django.conf.urls.static import staticurlpatterns = [ # ... the rest of your URLconf goes here ...] + static(settings.



