[Fixed]-Django adds square Brackets in querying sql server

1👍

This is because of the pyodbc. It generates the quoted name of table, index or column.
Modify this function quote_name in pyodbc/operations.py
Change this line
return '[%s]' % name to return name

Leave a comment