看板 Python 關於我們 聯絡資訊
請問大家,關於setting.py DEBUG = False (django 1.6) http://stackoverflow.com/questions/15499032/django-tutorials-500-debug-false 這個處理,小弟加了ALLOWED_HOSTS 還是無法解決 Internal Server Error. 想請問大家,是否有哪裡還需要額外處理? -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 59.115.132.132 ※ 文章網址: http://www.ptt.cc/bbs/Python/M.1399731811.A.0A1.html
uranusjr:加 ALLOWED_HOSTS 就可以了, 你可能沒設好或有其他錯誤 05/10 23:52
uranusjr:ALLOWED_HOSTS 造成的錯誤應該是 400, 如果你得到 500 05/10 23:55
uranusjr:應該是有其他 bug 的緣故 05/10 23:56
zcxcxc20002:那我在check 看看,感謝!! 05/11 10:00