프로젝트를 설정하는 데 도움이 필요합니다. 나는 django-pyodbc-azure
사용 내 settings.DATABASES
이 있습니다django-pyodbc-azure. 잘못된 개체 이름 'django_session'
DATABASES = {
'default': { 'ENGINE': 'sql_server.pyodbc','NAME': 'DBNAME','USER': 'USER',
'PASSWORD': 'PASSWORD',
'HOST': '10.xx.xx.xx,1433',
'OPTIONS': {
'driver': 'SQL Server Native Client 10.0',
},
},
}
가 미안 위의 코드를 포맷하는 방법을 모르겠어요.
내가 문제를 알고 '돈,하지만 오류 반환 : 나는이 문제를 해결하려면 어떻게
ProgrammingError: ('42S02', "[42S02] [Microsoft][SQL Server Native Client 10.0][ SQL Server]Invalid object name 'django_session'. (208) (SQLExecDirectW); [42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]Statement(s) could not be prepared. (8180)")
를?
는 것을 잘입니까? SQL Server 및 Windows의 어떤 버전입니까? 처음에'python manage.py migrate'를 했습니까? – FlipperPA