Django collectstatic from Heroku pushes to S3 everytime

前端 未结 6 1337
忘了有多久
忘了有多久 2021-02-02 01:23

I\'m using django-storages for static files with S3 (and S3BotoStorage). When I do collectstatic from my local machine, the behaviour is as expected, where only modified files a

6条回答
  •  鱼传尺愫
    2021-02-02 02:14

    Why not run collectstatic from local machine?

    python manage.py collectstatic --noinput --settings=settings.[prod]
    

提交回复
热议问题