Relative Content

Tag Archive for sql-serverdjangopymssqlinspectdb

Django Ñ problem? ValueError: source code string cannot contain null bytes

I’m working on Django and connecting to a remote SQL Server database. I managed to make the connection to the database using the MSSQL engine, but when I run inspectdb, the generated file contains errors due to the character “Ñ”, in the file they appear as ±. So when I try to run the server, I get the following error: “ValueError: source code string cannot contain null bytes.” refering to the generated file with inspectdb