It is possible. The two major projects that I know of are 
django-pyodbc<http://code.google.com/p/django-pyodbc/>which I have used quite a 
bit and 
django-mssql <http://code.google.com/p/django-mssql/> which I have not 
used. 

Django-mssql only works on Windows and I have no experience with it. As far 
as I know, it uses the Microsoft drivers underneath so it probably works 
fairly well.

Django-pyodbc works on Linux or Windows but if you were building for 
Windows, you would probably just use django-mssql. On Linux, you will need 
either unixODBC or iODBC as well as FreeTDS. On Ubuntu or CentOS, these are 
available from the package manager. Getting everything working is not 
entirely trivial due to different authentication schemes with SQL Server 
and some other intricacies. The code is not as seamless as the Django 
supported backends and deciding to use django-pyodbc will probably mean 
you'll have to learn the code line and submit a few patches. I use it 
primarily to connect to a read-only legacy database and for that purpose it 
works well. 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/p9T8-gkZp0kJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to