Fixed #12447 -- Corrected a bad example in the multi-db docs. Thanks to Bryan Veloso for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11982 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2009-12-25 10:26:36 +00:00
parent 9b8e90f937
commit 7626f851e3
1 changed files with 2 additions and 2 deletions

View File

@ -35,13 +35,13 @@ databases - a default Postgres database, and a MySQL database called
DATABASES = { DATABASES = {
'default': { 'default': {
'NAME': 'app_data', 'NAME': 'app_data',
'BACKEND': 'django.db.backends.postgres_psycopg2', 'ENGINE': 'django.db.backends.postgresql_psycopg2',
'USER': 'postgres_user', 'USER': 'postgres_user',
'PASSWORD': 's3krit' 'PASSWORD': 's3krit'
}, },
'users': { 'users': {
'NAME': 'user_data' 'NAME': 'user_data'
'BACKEND': 'django.db.backends.mysql', 'ENGINE': 'django.db.backends.mysql',
'USER': 'mysql_user', 'USER': 'mysql_user',
'PASSWORD': 'priv4te' 'PASSWORD': 'priv4te'
} }