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
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@…>

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

  • Triage Stage changed from Unreviewed to Ready for checkin

comment:2 Changed 9 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from new to closed

Fixed a bit more robustly in [5861]

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