Recent version of Django with SQL Server

Asked

Viewed 29 times

0

Hello, I’m starting with a project where I will use the Django framework, and due to the nature of the project, I would like to use SQL Server (because I am more familiar), however, everything I find on the subject, concerns old versions of Django, in this link https://django-mssql.readthedocs.io/en/latest/quickstart.html it is clear that old versions of Django are needed, however, when searching for the microsoft site, I found this link https://docs.microsoft.com/en-us/samples/azure-samples/mssql-django-samples/mssql-django-samples/ where it shows how to use Django with mssql-Django, and at the end of the page, I found a reference of the version of Django, and the same is in version 3.1.8 which is not a much earlier version, and because it is a publication of day 29/04/2021 made by microsoft, I get the doubt.

I can use version 3.1.8 of Django with mssql-Django? as I would like to use a recent version with SQL Server.

  • "I can use version 3.1.8 of Django with mssql-Django?" has ever made a test to see if it works? is a very specific doubt, a test can help to clear the doubt

  • I haven’t had time yet, I’m researching in the morning, but since I’m at work I don’t have much time.

2 answers

0

In my case, in order to be able to use SQL Server I used Django in version 3.0 and the library Django-mssql-backend.

In your case, if you choose to use the library Django-mssql, according to the documentation, the version of Django must be 1.8 and the version of SQL Server must be 2012.

0

I forgot to update here, I did some tests and I am managing to use Django in version 3.2.5 with mssql-Django in version 1.0rc1 (informed by the file Requirements.txt), so far I have not seen anything unusual or any bug, is working normally.

I hope not find future mistakes by using such recent versions.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.