Connect Django with SQL Server 2012

2021-03-22 Thread Maurizio Faccin
Hello, I have a problem tryng to connect Django with a SQL Server 2012 runnig on my pc. I installed pyodb package and this is my connection parameters in settings.py DATABASES = {     'default': {     'ENGINE': "sql_server.pyodbc",     'NAME': "CD",     'USER': "sa",     'PASSW

Re: Connect Django with SQL Server 2012

2021-03-22 Thread Kasper Laudrup
On 22/03/2021 15.57, Maurizio Faccin wrote: > I tried to use the parameters above in a python script and works correctly. > > What I can do to resolve this issue? > I don't think I can solve the issue, but it might help if you post the relevant part of the Python script? Then someone might be a

Re: Connect Django with SQL Server 2012

2021-03-23 Thread Maurizio Faccin
Hi Kasper, thank you for your suggestion. I resolved deleting all the parameters in datase settings.py and I rewrite them. After that it works fine. I think I written samething wrong and I didn't able to find this error. Best regards, Maurizio Faccin Il 22/03/2021 17:05, Kasper Laudrup ha