DEBUG=False时,就必须在Django框架前端部署nginx或者其他web服务器来提供静态访问入口 看看官网的说明如下链接https://devcenter.heroku.com/articles/django-assets