Skip to content Skip to sidebar Skip to footer

Unable To Connect To MSSQL Database Via Django-mssql

I'm trying to connect to my Microsoft SQL Server database from django but I am getting the following error when running the web server using django-mssql PS N:\Documents\Python>

Solution 1:

The getLogger alias was removed in this commit, so the following import will fail in Django 1.9

from django.utils.log import getLogger

I think you should be able to import getLogger from the Python module directly.

from logging import getLogger

Post a Comment for "Unable To Connect To MSSQL Database Via Django-mssql"