django-pyodbc
django-pyodbc copied to clipboard
pyodbc.DataError: Conversion failed when converting da te and/or time from character string
I get the following error when I try to create a superuser. Following is the like of code that it tells me which has the error.
File "D:\path\virtual_venv\lib\site-packages\django_pyodbc\base.py", line 489, in execute
return self.cursor.execute(sql, params)
pyodbc.DataError: ('22007', '[22007] [Microsoft][ODBC SQL Server Driver][SQL Server]Conversion failed when converting da
te and/or time from character string. (241) (SQLExecDirectW)')
I hope someone can let me know the solution for this problem.
solved by querying raw request on model, works fine. Fix this would be useful