Using Sql Server with Django in production

前端 未结 6 635
醉话见心
醉话见心 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:38

    These days

    • django-mssql: resulted in error "NoneType not callable" upon ./manage.py migrate
    • avidal/django-pyodbc: unmaintained. Replaced by:
      • django-pyodbc: no support for python 3
      • django-pyodbc-azure: works for me so far
        • EDIT: Seems to be unmaintained. Filed issue 125 asking about status
        • EDIT: got reply from maintainer. Will be made up-to-date with Django 2.0 soon
        • EDIT: maintainer released version 2.0 for django 2.0
        • EDIT: maintainer released version 2.1 for django 2.1

    EDIT: Here are the package versions

    Django==1.11.6
    django-mssql==1.8
    pyodbc==4.0.19
    django-pyodbc==1.1.1
    django-pyodbc-azure==1.11.0.0
    

提交回复
热议问题