Heroku 和 Django:来自终端/CLI 的错误“找不到该应用程序”

Pro*_*a12 2 django heroku

我正在将我的 Django 网站用于 Heroku。

我跟着:

一种) heroku login

b) heroku create

其中产生:

Creating app... done, ? enigmatic-ridge-36610
https://enigmatic-ridge-36610.herokuapp.com/ | https://git.heroku.com/enigmatic-ridge-36610.git
Run Code Online (Sandbox Code Playgroud)

C) heroku addons:create heroku-postgresql:hobby-dev

其中产生:

在 ? 上创建 heroku-postgresql:hobby-dev ?Morning-gorge-61422... !? 找不到那个应用。

我试过这个指南:“找不到那个应用程序。” 在控制台中运行 heroku 命令时

但它没有用

FBS*_*BSO 6

请执行下列操作:

git remote rm heroku
git remote add heroku git@heroku.com:yourappname.git
Run Code Online (Sandbox Code Playgroud)

yourappname您的 heroku 应用程序名称在哪里,而不是您的 Django 项目名称

重命名 Heroku 的主机名,现在找不到应用程序