Heroku not running collectstatic with Django -
so have django app, i've turned off disable_collectstatic
there's no mention of collect static happening.
some research showed heroku fail silently if collect static fails, write out during build log when collect static succeeds. did heroku run python manage.py collectstatic
, ran correctly. no errors.
however, collect static still isn't running on build
the catch turned out disable config var, 1 must use: heroku config:unset disable_collectstatic
i using wrong command since heroku config
displayed initally disable_collectstatic: 1
assumed heroku config:set disable_collectstatic=0
turn off config var. since nothing else seemed off, assumption became next suspect. following heroku docs handling config, ran of heroku config:set disable_collectstatic=false
heroku config:set disable_collectstatic=false
don't work desired.
Comments
Post a Comment