Opened 13 years ago

Closed 13 years ago

Last modified 11 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


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"


"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@…> 13 years ago.

Download all attachments as: .zip

Change History (2)

Changed 13 years ago by Joeri van Ruth <jvr_djangotrac@…>

Attachment: django-patch.diff added


comment:1 Changed 13 years ago by Jacob

Resolution: fixed
Status: newclosed

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

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