Wednesday, October 7, 2020

Re: Need Guidance to setup Django with MS SQL server


On Wed, 7 Oct 2020 at 20:36, arun sahu <arunsahu44@gmail.com> wrote:
Hi Geeks,

I need your support for setting up my django project with MS SQL server.

As there is no proper tutorial how to setup with MS SQL server. I tried it many times but failed with same errors. Please help me to progress.

Tried below :
 'ods_database': {
        'ENGINE': 'sql_server.pyodbc',
        'NAME': 'test',
        'HOST': '***',
        'PORT':'1433',
        'USER': '***',
        'PASSWORD': '***',

        'OPTIONS':{
                'driver': 'ODBC Driver 17 for SQL Server',
            }
    }

Error: 

File "C:\Dropbox\React\DjangoReact\backend\env\lib\site-packages\sql_server\pyodbc\base.py", line 12, in <module>
    raise ImproperlyConfigured("Django %d.%d.%d is not supported." % VERSION[:3])
django.core.exceptions.ImproperlyConfigured: Django 3.1.2 is not supported.

Thanks,
Arun

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/8972677a-651e-4465-8a94-5787e9ab4df9n%40googlegroups.com.


--
TUYIZERE Eugene

Msc Degree in Mathematical Science

African Institute for Mathematical Sciences (AIMS Cameroon)
Crystal Garden-Lime, Cameroon


Bsc in Computer Science

UR-Nyagatare Campus

Email: eugene.tuyizere@aims-cameroon.org
           eugenetuyizere@gmail.com

Tel: (+250) 7 88 26 33 38, (+250) 7 22 26 33 38

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CABxpZHuw4zWoUhvajNy1EnyRyCsDR76EZ%3DExegvmU8_B-XHSUQ%40mail.gmail.com.

No comments:

Post a Comment