SQL Server backend for django >= 3.2
BSD-3-CLAUSE License
optional:
clr/django_clr.cs
and install the resulting assembly or read and then runtds_django/sql/clr.sql
script.tds_django/sql/init.sql
script.tds_django/features.py
for more details.uniqueidentifier
field for UUIDField while others may have used nvarchar.For django 4.2
pip install bitarray python-tds tds_django~=4.2
For django 4.1
pip install bitarray python-tds tds_django==4.1.0
For django 4.0
pip install bitarray python-tds tds_django==4.0.0
For django 3.2
pip install bitarray python-tds tds_django==0.1
DATABASES = {
'default': {
'ENGINE': 'tds_django',
'HOST': 'localhost',
'PORT': '1433',
'NAME': '<db_name>',
'USER': '<db_user>',
'PASSWORD': '<db_password>',
},
}