Permalink
Browse files

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
  • Loading branch information...
freakboy3742 committed Jan 6, 2010
1 parent 588cd69 commit 1d18f324f17ea8638d12cd3a10019fb51512a20d
Showing with 5 additions and 5 deletions.
  1. +2 −2 docs/releases/1.2-alpha-1.txt
  2. +3 −3 docs/releases/1.2.txt
@@ -254,7 +254,7 @@ In the old-style (pre 1.2) format, there were a number of
example::
DATABASE_NAME = 'test_db'
- DATABASE_BACKEND = 'postgresl_psycopg2'
+ DATABASE_ENGINE = 'postgresql_psycopg2'
DATABASE_USER = 'myusername'
DATABASE_PASSWORD = 's3krit'
@@ -268,7 +268,7 @@ The sample settings given previously would now be stored using::
DATABASES = {
'default': {
'NAME': 'test_db',
- 'BACKEND': 'django.db.backends.postgresl_psycopg2',
+ 'ENGINE': 'django.db.backends.postgresql_psycopg2',
'USER': 'myusername',
'PASSWORD': 's3krit',
}
View
@@ -92,7 +92,7 @@ In the old-style (pre 1.2) format, there were a number of
example::
DATABASE_NAME = 'test_db'
- DATABASE_BACKEND = 'postgresl_psycopg2'
+ DATABASE_ENGINE = 'postgresql_psycopg2'
DATABASE_USER = 'myusername'
DATABASE_PASSWORD = 's3krit'
@@ -106,7 +106,7 @@ The sample settings given previously would now be stored using::
DATABASES = {
'default': {
'NAME': 'test_db',
- 'BACKEND': 'django.db.backends.postgresl_psycopg2',
+ 'ENGINE': 'django.db.backends.postgresql_psycopg2',
'USER': 'myusername',
'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
handling for the built-in database backends. All database backends
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``).
``__dict__`` on Model instances

0 comments on commit 1d18f32

Please sign in to comment.