'collectstatic' command fails when WhiteNoise is enabled

前端 未结 14 1030
别那么骄傲
别那么骄傲 2020-12-08 19:51

I\'m trying to serve static files through WhiteNoise as per Heroku\'s recommendation. When I run collectstatic in my development environment, this happens:

14条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-08 20:25

    Be sure to check all your settings related to static files, especially making sure the paths are pointing to the right locations. I personally had one of my STATICFILES_DIRS pointing to a wrong path.

提交回复
热议问题