Python Django ValueError: source code string cannot contain null bytes

前端 未结 1 1890
慢半拍i
慢半拍i 2021-01-19 13:18

I have put down a Django project I was working on for a couple months, when I attempted to re run the server I got this error:

ValueError: source code string         


        
1条回答
  •  忘掉有多难
    2021-01-19 13:32

    Just convert it to UTF-8. That worked for me :)

    0 讨论(0)
提交回复
热议问题