最近遇到一個 django 問題

當我關閉 DEBUG 模式之後
不知道為什麼靜態檔案就不能存取
後來有找到這篇
 
Why does DEBUG=False setting make my django Static Files Access fail?
 
裡面有建議使用這個:
manage.py runserver --insecure
 
就可以解決了
但是這方法好像還不夠好
應該是使用 WhiteNoise 比較好...