Opened 16 years ago
Closed 16 years ago
#4912 closed (fixed)
ImportError in newforms.fields should be EnvironmentError
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | Forms | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
If I'm not mistaken, from django.conf import settings
will raise an EnvironmentError
, not an ImportError
, when settings aren't configured.
Attachments (1)
Change History (3)
Changed 16 years ago by
Attachment: | 4912-1.diff added |
---|
comment:1 Changed 16 years ago by
Triage Stage: | Unreviewed → Ready for checkin |
---|
comment:2 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Fixed a bit more robustly in [5861]