django-mssql on debian linux

ⅰ亾dé卋堺 提交于 2019-12-13 09:13:36

问题


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.

  1. Install Microsoft ODBC Driver 1.0 for linux

  2. Install django_pyodbc.

  3. Configure your database backend with django-pyodbc.

I've tested,everything works just fine.



来源:https://stackoverflow.com/questions/5004801/django-mssql-on-debian-linux

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!