Yes it is right . r u on same LAN?
From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On
Behalf Of leb dev
Sent: Thursday, August 29, 2019 1:47 PM
To: Django users
Subject: Re: help me to fix this issue with database connection
yes i can get a remote connection wit
Make sure that port is opened and it is reachable from machine u r trying to
access
From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On
Behalf Of leb dev
Sent: Thursday, August 29, 2019 12:33 PM
To: Django users
Subject: Re: help me to fix this issue with database co
Pip install pyodbc
And add below code snipped in settings.py. it should work. I am using in this
way. It works perfectly
DATABASES = {
'default': {
'ENGINE': 'sql_server.pyodbc',
'NAME': 'DB',
'USER': 'user',
'PASSWORD': 'pwd’,
'HOST': 'host',
3 matches
Mail list logo