Django Webfaction 'Timeout when reading response headers from daemon process'

后端 未结 4 501
南方客
南方客 2020-12-14 17:59

My Django app on my production server hosted on Webfaction was working fine until I just tried to restart it after pushing a change to the settings.py file. I ran

         


        
4条回答
  •  攒了一身酷
    2020-12-14 18:41

    Here is how I was able to find the root cause of my issue.

    python manage.py showmigrations
    

    My app could not reach the database server, so it would eventually time out. Running manage.py I could see see the error message on the console.

提交回复
热议问题