Skip to content

Getting started

Warren Chu edited this page Jan 4, 2021 · 9 revisions

Installation for Windows

  1. Install pyodbc 3.0 (or newer) and Django 2.2 (or newer)

  2. Install django-mssql-backend ::

    pip install django-mssql-backend

  3. Set the ENGINE setting in the settings.py file used by your Django application or project to 'mssql' module path ::

    'ENGINE': 'mssql'

Installation for Linux

  1. Install pyodbc 3.0 (or newer) and Django 2.2 (or newer)

  2. Install Microsoft ODBC Driver 17 for SQL Server (or equivalent)

  3. Install django-mssql-backend ::

    pip install django-mssql-backend

  4. Set the ENGINE setting in the settings.py file used by your Django application or project to 'mssql' module path ::

    'ENGINE': 'mssql'

Clone this wiki locally