Opened 17 years ago

Closed 17 years ago

#5095 closed (fixed)

newforms doesn't import settings safely enough

Reported by: Chris Beaven 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

django.conf raises an EnvironmentError if things aren't right. newforms.fields just tries to catch ImportError

Attachments (1)

newforms_settings.patch (517 bytes ) - added by Chris Beaven 17 years ago.

Download all attachments as: .zip

Change History (3)

by Chris Beaven, 17 years ago

Attachment: newforms_settings.patch added

comment:1 by Chris Beaven, 17 years ago

Triage Stage: UnreviewedReady for checkin

comment:2 by Adrian Holovaty, 17 years ago

Resolution: fixed
Status: newclosed

(In [5861]) Fixed #5095 -- newforms now checks for EnvironmentError when importing settings. Thanks, SmileyChris

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