问题
Anyone has success on install django-mssql on linux machine? My deploy server is debian linux and I cant deploy my applications made on windows machine.
I have troubes on my legacy latin1 database on acess it from pyodbc on django, Anyone has a solve to it?
回答1:
Pywin32 is a requirement. I don't believe there is a way of getting that installed and working on debian linux.
Django-mssql requirements
回答2:
Actually,there is a workaround with ODBC interface.
Install Microsoft ODBC Driver 1.0 for linux
Install django_pyodbc.
Configure your database backend with django-pyodbc.
I've tested,everything works just fine.
来源:https://stackoverflow.com/questions/5004801/django-mssql-on-debian-linux