0👍
So, no idea what is going on, but creating a new Heroku instance and pushing to it with an empty configuration is actually triggering collectstatic.
I suspect Heroku is not properly evaluating changes to DISABLE_COLLECTSTATIC
.
EDIT
Actually, it seems DISABLE_COLLECTSTATIC=0
also prevents collectstatic
to run. To make sure collectstatic runs, do:
heroku config:unset DISABLE_COLLECTSTATIC
I would say the Heroku documentation is a bit confusing, since it seems to imply that DISABLE_COLLECTSTATIC=0
will in fact run collectstatic – but it doesn’t.
Source:stackexchange.com