Opened 9 years ago

Closed 9 years ago

#4912 closed (fixed)

ImportError in newforms.fields should be EnvironmentError

Reported by: Matt McClanahan <cardinal@…> Owned by: Adrian Holovaty
Component: Forms Version: master
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


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@…> 9 years ago.

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by Matt McClanahan <cardinal@…>

Attachment: 4912-1.diff added

comment:1 Changed 9 years ago by John Shaffer <jshaffer2112@…>

Triage Stage: UnreviewedReady for checkin

comment:2 Changed 9 years ago by Malcolm Tredinnick

Resolution: fixed
Status: newclosed

Fixed a bit more robustly in [5861]

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