{"categories":[{"label":"Front-Ends","url":"https://skillfed.io/packages/category/database-front-ends"}],"enrichment":{"capability":"Django database backend that connects Django applications to Microsoft SQL Server, Azure SQL, and SQL Database in Microsoft Fabric via pyodbc and ODBC drivers.","skillfed_tags":["django-backend","sql-server","azure-sql"],"use_cases":["Migrate an existing Django application from SQLite or PostgreSQL to SQL Server or Azure SQL without rewriting models or queries.","Build a new Django web application targeting Azure SQL Database or SQL Database in Microsoft Fabric as the primary data store.","Connect Django to an on-premises SQL Server 2019 or 2022 instance in an enterprise environment.","Use Azure AD authentication with Django by configuring TOKEN-based or extra_params-based connection options.","Run Django tests against a SQL Server test database with custom collation or creation-order dependencies."],"what_it_does":"mssql-django is the official Microsoft-supported Django database backend for SQL Server and Azure SQL. It replaces Django's default backend with one that speaks SQL Server's dialect, allowing you to define Django models and run queries against SQL Server 2016\u20132025, Azure SQL Database, Managed Instance, and SQL Database in Microsoft Fabric. The package wraps pyodbc (a Python ODBC library) and handles the translation between Django's ORM and SQL Server's T-SQL, including transaction management, connection pooling via pyodbc, and timezone handling via pytz.\n\nInstallation is straightforward\u2014pip pulls in django, pyodbc, and pytz automatically\u2014and configuration happens in Django's settings.py by setting ENGINE to 'mssql' and providing connection details (HOST, USER, PASSWORD, etc.). The backend supports Django 3.2, 4.0, 4.1, 4.2, 5.0, 5.1, 5.2, 6.0, 6.1 and Python 3.8\u20133.14, though Django 6.0 and 6.1 require Python 3.12+. It includes known limitations around certain field migrations, JSONField operations, and some advanced query patterns, documented in the project's wiki.","worth_installing":"Yes. This is the official Microsoft-backed backend for SQL Server and Azure SQL, actively maintained with no known vulnerabilities, low install friction, and permissive licensing. Install it if you need Django to connect to SQL Server, Azure SQL, or Microsoft Fabric SQL Database. Be aware of documented limitations around certain field migrations, JSONField operations, and advanced query patterns\u2014review the known limitations table if your application uses those features heavily."},"id":"mssql-django","links":{"html":"https://skillfed.io/packages/mssql-django","md":"https://skillfed.io/packages/mssql-django.md","pypi":"https://pypi.org/project/mssql-django/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-07","license_spdx":null,"license_treatment":"permissive","name":"mssql-django","python_support":"unspecified","summary":"Django backend for Microsoft SQL Server"},"popularity":{"monthly_downloads":463781,"position":6519,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.8.0"}
