microsoft / microsoft/mssql-python
Announcement: mssql-python is coming to Django through mssql-django 2.0
@bewithgaurav is already working on this.
Since Sep 3, 2026.
- Dominant language
- Python
- Stars
- 472
- Forks
- 60
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 36
Description
The upcoming mssql-django 2.0 release will let you run the Django ORM directly on mssql-python.
mssql-django is the official SQL Server backend for Django. It is the backend that connects your apps to SQL Server, and starting with 2.0 it can run on mssql-python alongside pyodbc, selectable per connection.
mssql-python will be opt-in for the 2.0 release, with pyodbc remaining the default, so existing projects keep working exactly as they do today and you adopt it when you are ready.
Using the mssql-python path needs Python 3.10 or newer, and since mssql-python bundles ODBC Driver 18, there is no separate ODBC install to manage.
Targeted for 18 September 2026. Full details will follow in the mssql-django release notes.
For the broader 2.0 plan, including the refreshed version support policy, see the announcement on the mssql-django repo: microsoft/mssql-django#587
cc: @sumitmsft @dlevy-msft-sql
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.