Heroku collectstatic not run during deployment

前端 未结 4 1262
时光取名叫无心
时光取名叫无心 2020-12-19 12:41

I have a django app that I am successfully deplying to heroku. When I dry-run the collectstatic command locally everything works fine.

python manage.py colle         


        
4条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-19 13:30

    Check this out Django and Static Assets. It seems to be updated recently and you can serve static files nicely using this dj-static package.

提交回复
热议问题