Patch to improve DATABASE_ENGINE error message
|Reported by:||Owned by:||Adrian Holovaty|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||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.