简体   繁体   中英

AttributeError on <module '__main__' when deploying app on Heroku via Gunicorn

Decided to just not use the custom class for this project.

Did you set up your project correctly first? This is how: https://devcenter.heroku.com/articles/django-app-configuration Also, putting more of the error or other info into the question would be helpful.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM