Browse Source

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
Russell Keith-Magee 15 years ago
parent
commit
7626f851e3
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/topics/db/multi-db.txt

+ 2 - 2
docs/topics/db/multi-db.txt

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