Corrected yet another BACKEND/ENGINE error in the docs, this time in the release notes. Thanks to Jeff Croft for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12115 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2010-01-06 08:16:07 +00:00
parent 588cd6908f
commit 1d18f324f1
2 changed files with 5 additions and 5 deletions

View File

@ -254,7 +254,7 @@ In the old-style (pre 1.2) format, there were a number of
example:: example::
DATABASE_NAME = 'test_db' DATABASE_NAME = 'test_db'
DATABASE_BACKEND = 'postgresl_psycopg2' DATABASE_ENGINE = 'postgresql_psycopg2'
DATABASE_USER = 'myusername' DATABASE_USER = 'myusername'
DATABASE_PASSWORD = 's3krit' DATABASE_PASSWORD = 's3krit'
@ -268,7 +268,7 @@ The sample settings given previously would now be stored using::
DATABASES = { DATABASES = {
'default': { 'default': {
'NAME': 'test_db', 'NAME': 'test_db',
'BACKEND': 'django.db.backends.postgresl_psycopg2', 'ENGINE': 'django.db.backends.postgresql_psycopg2',
'USER': 'myusername', 'USER': 'myusername',
'PASSWORD': 's3krit', 'PASSWORD': 's3krit',
} }

View File

@ -92,7 +92,7 @@ In the old-style (pre 1.2) format, there were a number of
example:: example::
DATABASE_NAME = 'test_db' DATABASE_NAME = 'test_db'
DATABASE_BACKEND = 'postgresl_psycopg2' DATABASE_ENGINE = 'postgresql_psycopg2'
DATABASE_USER = 'myusername' DATABASE_USER = 'myusername'
DATABASE_PASSWORD = 's3krit' DATABASE_PASSWORD = 's3krit'
@ -106,7 +106,7 @@ The sample settings given previously would now be stored using::
DATABASES = { DATABASES = {
'default': { 'default': {
'NAME': 'test_db', 'NAME': 'test_db',
'BACKEND': 'django.db.backends.postgresl_psycopg2', 'ENGINE': 'django.db.backends.postgresql_psycopg2',
'USER': 'myusername', 'USER': 'myusername',
'PASSWORD': 's3krit', 'PASSWORD': 's3krit',
} }
@ -135,7 +135,7 @@ connection using ``DatabaseWrapper()`` from your database backend of choice.
In addition to the change in structure, Django 1.2 removes the special In addition to the change in structure, Django 1.2 removes the special
handling for the built-in database backends. All database backends handling for the built-in database backends. All database backends
must now be specified by a fully qualified module name (i.e., must now be specified by a fully qualified module name (i.e.,
``django.db.backends.postgresl_psycopg2``, rather than just ``django.db.backends.postgresql_psycopg2``, rather than just
``postgresql_psycopg2``). ``postgresql_psycopg2``).
``__dict__`` on Model instances ``__dict__`` on Model instances