Open matthiasguentert opened 3 years ago
you can try use 'mssql-django' https://github.com/microsoft/mssql-django
Works fine with django 3.0.14. Facing the same issue in django 3.2. Is there a solution for this?
Pypi mentions django-mssql-backend supporting up to Django 3.0. For later versions you could try to use a fork of this package named mssql-django (https://github.com/microsoft/mssql-django)
I am pretty new to Django and I am therefore following this official tutorial here. But instead of using Sqlite I'd like to use an MSSQL backend, Azure SQL to be more specific.
However, I am not able to execute
python migrate.py migrate
nor can I preview the generate SQL statements withpython migrate.py sqlmigrate polls 0001
.Interestingly this doesn't happen on django 2.2 LTS (2.2.24) and only happens on 3.2 LTS (3.2.5).
Any idea?
This is what my database configuration looks like in settings.py
This is the error that is getting thrown.
And the same for the migrate part
In addition versions 3.1.13, 3.1.12 and 3.1.8 are complaining with a slightly different error