我自己解决了这个问题:在manage.py中添加类似于以下代码:
CurDir = os.path.dirname(os.path.abspath(__file__))ProjectDir = os.path.join(CurDir, "moz455")sys.path += [ProjectDir]
并使用以下命令提交更改:
git add -Agit commit -m "commit"git push -f heroku

我自己解决了这个问题:在manage.py中添加类似于以下代码:
CurDir = os.path.dirname(os.path.abspath(__file__))ProjectDir = os.path.join(CurDir, "moz455")sys.path += [ProjectDir]
并使用以下命令提交更改:
git add -Agit commit -m "commit"git push -f heroku