Using Sql Server with Django in production

前端 未结 6 629
醉话见心
醉话见心 2020-12-04 10:54

Has anybody got recent experience with deploying a Django application with an SQL Server database back end? Our workplace is heavily invested in SQL Server and will not supp

6条回答
  •  隐瞒了意图╮
    2020-12-04 11:33

    I have seen so many people get the following error after installing django_mssql on Windows:

    django.core.exceptions.ImproperlyConfigured: 'sqlserver_ado' isn't an available database backend.
    Try using django.db.backends.XXX, where XXX is one of:
      'dummy', 'mysql', 'oracle', 'postgresql_psycopg2', 'sqlite3'
    Error was: No module named sqlserver_ado.base
    

    The solution is installing the following plugin:

    http://sourceforge.net/projects/pywin32/

提交回复
热议问题