DATABASES = {
'default': {
#'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
'ENGINE': 'django.db.backends.oracle', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
'NAME': 'ora8', # Or path to database file if using sqlite3.
'USER': 'delphitest', # Not used with sqlite3.
'PASSWORD': 'delphitestpass', # Not used with sqlite3.
'HOST': '172.17.8.5', # Set to empty string for localhost. Not used with sqlite3.
'PORT': '1521', # Set to empty string for default. Not used with sqlite3.
}
django oracle數據庫設置
最新推荐文章于 2023-03-31 18:43:48 发布