从这里到任何地方,我都经历了很多可能的答案,看来问题仍然存在。
是什么原因造成的,我该如何解决?
$ git push heroku master
Counting objects: 295, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (272/272), done.
Writing objects: 100% (295/295), 678.12 KiB | 8.07 MiB/s, done.
Total 295 (delta 114), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> App not compatible with buildpack: https://buildpack-registry.s3.amazonaws.com/buildpacks/heroku/python.tgz
remote: More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to mydjangoappblog.
remote:
To https://git.heroku.com/mydjangoappblog.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/mydjangoappblog.git'
我的Procfile
:
还有gunicorn
:
答案 0 :(得分:1)
看来您的Procfile无效
修改如下:
auto-ddl=none