Heroku Django部署成功,但应用程序url显示;应用程序错误“;

Heroku Django部署成功,但应用程序url显示;应用程序错误“;,django,heroku,Django,Heroku,我能够部署在Heroku上创建和部署Django应用程序。我的应用程序在本地运行。但是当我运行heroku open时,会得到默认的错误消息 An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. wsgi.py import os from django.core.wsgi

我能够部署在Heroku上创建和部署Django应用程序。我的应用程序在本地运行。但是当我运行heroku open时,会得到默认的错误消息

 An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. 
wsgi.py

import os

from django.core.wsgi import get_wsgi_application
from whitenoise.django import DjangoWhiteNoise

os.environ.setdefault("DJANGO_SETTINGS_MODULE", "allistic_server.settings")

application = get_wsgi_application()
application = DjangoWhiteNoise(application)
程序文件

web:gunicorn server.wsgi --log-file
requirements.txt

Django==2.0.8
djangorestframework==3.9.1
gunicorn==19.7.2
whitenoise==3.6
heroku原木——尾巴

我可以看到您的项目被称为allistic_server,但在procfile中您提到的'server.wsgi'不是有效的路径。改变这个

web:gunicorn server.wsgi --log-file

我可以看到您的项目被称为allistic_server,但在procfile中您提到的'server.wsgi'不是有效的路径。改变这个

web:gunicorn server.wsgi --log-file


项目名称是什么?它只是“服务器”吗?项目名称是什么?只是“服务器”吗?
web:gunicorn server.wsgi --log-file
web:gunicorn allistic_server.wsgi --log-file