django连接oracle
下载适配器cx_Oracle
打开settings.py文件,配置oracle连接:
DATABASE_ENGINE = 'oracle' # 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'.
DATABASE_NAME = 'django' # Or path to database file if using sqlite3.
DATABASE_USER = 'dja
下载适配器cx_Oracle
打开settings.py文件,配置oracle连接:
DATABASE_ENGINE = 'oracle' # 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'.
DATABASE_NAME = 'django' # Or path to database file if using sqlite3.
DATABASE_USER = 'dja