DATABASES dict default dict DATABASE_ENGINE mysql DATABASE_NAME DATABA

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
DATABASES = dict(
default = dict(
DATABASE_ENGINE='mysql',
DATABASE_NAME=DATABASE_NAME,
DATABASE_USER=DATABASE_USER,
DATABASE_PASSWORD=DATABASE_PASSWORD,
DATABASE_HOST=DATABASE_HOST,
DATABASE_PORT=DATABASE_PORT,
DATABASE_OPTIONS='',
),
partner = dict(
DATABASE_ENGINE='postgresql_psycopg2',
DATABASE_NAME='DB2',
DATABASE_USER=DATABASE_USER,
DATABASE_PASSWORD=DATABASE_PASSWORD,
DATABASE_HOST=DATABASE_HOST,
DATABASE_PORT=DATABASE_PORT,
DATABASE_OPTIONS='',
),
)