-
Notifications
You must be signed in to change notification settings - Fork 125
Frequently Asked Questions
Sicong edited this page Feb 4, 2021
·
9 revisions
It is! https://github.com/microsoft/mssql-django
- Supports Django 2.2, 3.0
- Supports Microsoft SQL Server 2008/2008R2, 2012, 2014, 2016, 2017, 2019
Yes, this project is tested and works against Azure SQL DB.
Issues should be opened under this GitHub repository.
The following features are currently not supported:
- mssql-django does not support SQL-based regex commands
- Altering a model field from or to Autofield at migration
The following features and additions are planned:
- install instructions for a CLR .dll file to add SQL-based regex command support to SQL Server or Azure SQL DB
- refactor project test suite to account for expected test case failures
Check if TCP/IP is enabled.
Open SQL Server Configuration Manager
. Under SQL Server Network Configuration
. Enable TCP/IP and active the IP used for connection in TCP/IP Properties.
If multiple versions of ODBC driver installed on the machine, specify the path to the driver in settings.py
DATABASES = {
"default": {
...
"OPTIONS": {
"driver": "/location/to/libmsodbcsql-17.0.so.2.1",
},
}
}