Opened 18 years ago
Closed 18 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)
by , 18 years ago
| Attachment: | 4912-1.diff added |
|---|
comment:1 by , 18 years ago
| Triage Stage: | Unreviewed → Ready for checkin |
|---|
comment:2 by , 18 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fixed a bit more robustly in [5861]