djangoでアプリを作り、herokuにデプロイしようとしたのですが、git push の時点でエラーがでてしまいました。
以前djangogirlsのチュートリアルでpythonanywhereにデプロイしたアプリなのですが、herokuでもデプロイしようと思い以下のサイトを参考にしてデプロイを進めたところ、コマンドラインのgit pushでエラーが出てしまいました。
https://www.djangobrothers.com/blogs/heroku_django_deploy/
remote: ! Error while running '$ python manage.py collectstatic --noinput'. remote: See traceback above for details. remote: remote: You may need to update application code to resolve this error. remote: Or, you can disable collectstatic for this application: remote: remote: $ heroku config:set DISABLE_COLLECTSTATIC=1 remote: remote: https://devcenter.heroku.com/articles/django-assets remote: ! Push rejected, failed to compile Python app. remote: remote: ! Push failed remote: Verifying deploy... remote: remote: ! Push rejected to <自分のheroku名>. remote: To https://git.heroku.com/koutaian.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'https://git.heroku.com/<自分のheroku名>.git'
解決法を教えてください。