Reputation: 589
I am facing this error:
ValueError: source code string cannot contain null bytes
whenever I create a splite3
database and use it.
Below are the steps i follow:
python manage.py inspectdb > customer.py
python manage.py runserver
I get this error when I run the server. Could someone please help me with this?
Upvotes: 2
Views: 951
Reputation: 115
This could be an encoding error. You can try this:
Upvotes: 0
Reputation: 49
open the file in IDLE or notepad and save it again with UTF-16 Encoding
Upvotes: 1