#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.
Note:
See TracTickets
for help on using tickets.
(In [11982]) Fixed #12447 -- Corrected a bad example in the multi-db docs. Thanks to Bryan Veloso for the report.