Wednesday, April 29, 2015

Re: SQL Server Support - Does it Exist

We try to use django-pyodbc on CentOS (python 2.7 + Django 1.8, connection to MS SQL Server 2012)
While running 'migrare' I get the same error as mentioned above:
'django_pyodbc' isn't an available database backend

Can't understand what has been done wrong...

On Sunday, March 24, 2013 at 5:14:55 PM UTC+3, Michael Manfre wrote:
Although there is no official support for SQL Server, there are two available backends to choose from; django-mssql and django-pyodbc. There has also been some recent discussion on the django-developers mailing list about SQL Server's support and the idea of having officially recognized extensions (see [1]).


I'm the maintainer of django-mssql and have been using it on http://www.src.org since Django 1.1 and has upgrade to the Django stable version shortly after each release. We're currently on Django 1.4.x and plan on upgrading to Django 1.5 in the next few months. Django-mssql requires pywin32 and must be run on a Windows server. During the ~1.5 years between your post and the previous one in this topic, the django-mssql project has made a lot of improvements, including better documentation [2].

[2] http://django-mssql.readthedocs.org/en/latest/

If your web servers are non-windows, then you can use django-pyodbc. The google code hosted project [3] is a bit out of date, but there is a slightly newer fork available on GitHub [4].

Michael Manfre

On Saturday, March 23, 2013 12:35:08 AM UTC-4, Liang wrote:
Sadly, django doesn't support sql server officially is the only stopper for me to adopt django. 

On Friday, 15 July 2011 09:07:23 UTC+8, Russell Keith-Magee wrote:
On Fri, Jul 15, 2011 at 6:03 AM, bruno desthuilliers
<bruno.des...@gmail.com> wrote:
>
>
> On 14 juil, 23:15, Python_Junkie <software.buy.des...@gmail.com>
> wrote:
>> I have searched for the drivers to use the syncdb utility with MS SQL
>> Server but have been unsuccessful.
>
> https://docs.djangoproject.com/en/1.3/ref/databases/
>
> Django doesn't support MS SQL.

Django doesn't provide *official* support MSSQL. However, we do have a
supported backend API, and there are several third-party projects that
implement MS SQL support [1]. I can't comment on their completeness or
stability, but the projects exist.

[1] https://docs.djangoproject.com/en/1.3/ref/databases/#using-a-3rd-party-database-backend

Yours,
Russ Magee %-)

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b217f87a-19d3-42a2-aa02-7f0faaee71e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment