Heroku performing collectstatic as expected on deployment?
问题 I have Django setup to collect my static files and copy them into S3 using django-storages and this works like a charm when I explicitly run heroku run python manage.py collectstatic However, I expect Heroku to perform this action automatically upon deployment (i.e. git push to Heroku) as described in this documentation https://devcenter.heroku.com/articles/django-assets . Apparently, the output of: python manage.py collectstatic --dry-run --noinput determines whether or not collectstatic is