django 源碼報錯

啓動django ,一直提示一個django

AttributeError: 'str' object has no attribute 'decode'

 

哥,查了一下午google,就怕是本身判斷錯了,最後在一片stackoverflow中,發現了這個確實是源碼有問題,google

把這個decode ,改爲encode就行了code

相關文章
相關標籤/搜索