Opened 13 years ago
Closed 13 years ago
#17907 closed Uncategorized (duplicate)
"Something's wrong with your database installation" error message in DEBUG mode.
Reported by: | anonymous | Owned by: | nobody |
---|---|---|---|
Component: | contrib.admin | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Daniel Hepper | Triage Stage: | Unreviewed |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
In django/contrib/admin/options.py line 1131, a IncorrectLookupParameter exception is caught and the following error message is returned:
"Something's wrong with your database installation. Make sure the appropriate database tables have been created, and make sure the database is readable by the appropriate user."
IMHO, the exception should be reraised if settings.DEBUG is True.
The error message is to general to find the cause of the error. In my case, I had a bug in a SimpleListFilter subclass, which I could only find by setting a breakpoint in the Django code.
Attachments (1)
Change History (3)
by , 13 years ago
Attachment: | invalid_setup_patch.diff added |
---|
comment:1 by , 13 years ago
Cc: | added |
---|
comment:2 by , 13 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Looks like a duplicate of #17828.