You have not installed the package with the required database.
Do:
pip install django-pyodbc pip install django-pyodbc-azure
See the doc and this one .
An example of database settings from the second link:
DATABASES = { 'default': { 'ENGINE': 'sql_server.pyodbc', 'NAME': 'mydb', 'USER': ' user@myserver ', 'PASSWORD': 'password', 'HOST': 'myserver.database.windows.net', 'PORT': '', 'OPTIONS': { 'driver': 'SQL Server Native Client 11.0', }, }, } #set this to `False` if you want to turn off pyodbc connection pooling: DATABASE_CONNECTION_POOLING = False
source share