From 1d18f324f17ea8638d12cd3a10019fb51512a20d Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Wed, 6 Jan 2010 08:16:07 +0000 Subject: [PATCH] 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 --- docs/releases/1.2-alpha-1.txt | 4 ++-- docs/releases/1.2.txt | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/releases/1.2-alpha-1.txt b/docs/releases/1.2-alpha-1.txt index e3b6e4a9ec..8784b5c631 100644 --- a/docs/releases/1.2-alpha-1.txt +++ b/docs/releases/1.2-alpha-1.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', } diff --git a/docs/releases/1.2.txt b/docs/releases/1.2.txt index 008d3c5d9f..18bcf710b2 100644 --- a/docs/releases/1.2.txt +++ b/docs/releases/1.2.txt @@ -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