#133 closed defect (fixed)
Patch to improve DATABASE_ENGINE error message
Reported by: | 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)
Change History (2)
by , 19 years ago
Attachment: | django-patch.diff added |
---|
comment:1 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
patch