Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#12447 closed (fixed)

MutliDB Documentation Errata ('BACKEND' vs 'ENGINE')

Reported by: Bryan Veloso Owned by: nobody
Component: Documentation Version: 1.1
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The new docs specify the following:

DATABASES = {
    'default': {
        'NAME': 'app_data',
        'BACKEND': 'django.db.backends.postgres_psycopg2',
        'USER': 'postgres_user',
        'PASSWORD': 's3krit'
    },
}

BACKEND should be ENGINE as it throws a KeyError if the documentation's example is followed.

PS: Also, postgres_psycopg2 should be postgresql_psycopg2, giving an error of Error was: No module named postgres_psycopg2.base otherwise.

Change History (2)

comment:1 by Russell Keith-Magee, 14 years ago

Resolution: fixed
Status: newclosed

(In [11982]) Fixed #12447 -- Corrected a bad example in the multi-db docs. Thanks to Bryan Veloso for the report.

comment:2 by Jacob, 13 years ago

milestone: 1.2

Milestone 1.2 deleted

Note: See TracTickets for help on using tickets.
Back to Top