Opened 17 years ago

Closed 17 years ago

#4912 closed (fixed)

ImportError in newforms.fields should be EnvironmentError

Reported by: Matt McClanahan <cardinal@…> 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)

4912-1.diff (497 bytes ) - added by Matt McClanahan <cardinal@…> 17 years ago.

Download all attachments as: .zip

Change History (3)

by Matt McClanahan <cardinal@…>, 17 years ago

Attachment: 4912-1.diff added

comment:1 by John Shaffer <jshaffer2112@…>, 17 years ago

Triage Stage: UnreviewedReady for checkin

comment:2 by Malcolm Tredinnick, 17 years ago

Resolution: fixed
Status: newclosed

Fixed a bit more robustly in [5861]

Note: See TracTickets for help on using tickets.
Back to Top