Opened 19 years ago

Closed 19 years ago

Last modified 17 years ago

#133 closed defect (fixed)

Patch to improve DATABASE_ENGINE error message

Reported by: Joeri van Ruth <jvr+djangotrac@…> Owned by: Adrian Holovaty
Component: Core (Other) Version:
Severity: trivial 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

I could not load the postgresql back end because psycopg was nog installed properly.
However, that was not clear from the error message.

Patch attached. It changes

"Your DATABASE_ENGINE setting, %r, is invalid. Is it spelled correctly? Available options are: %s"

into

"Could not load database backend: %s. Is DATABASE_ENGINE (currently, %r) spelled correctly? Available options are: %s"

displaying the error message from import.

Attachments (1)

django-patch.diff (1.3 KB ) - added by Joeri van Ruth <jvr_djangotrac@…> 19 years ago.
patch

Download all attachments as: .zip

Change History (2)

by Joeri van Ruth <jvr_djangotrac@…>, 19 years ago

Attachment: django-patch.diff added

patch

comment:1 by Jacob, 19 years ago

Resolution: fixed
Status: newclosed

(In [269]) fixes #133 -- thanks Joeri

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