Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#15079 closed (fixed)

django/core/cache/__init__.py missing import

Reported by: James Aylett Owned by: nobody
Component: Core (Cache system) Version: dev
Severity: Keywords: blocker
Cc: Triage Stage: Ready for checkin
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

On creating settings.CACHE without a default, Django tries to raise ImproperlyConfigured, but cannot because it's not defined in django/core/cache/init.py. It needs:

from django.core.exceptions import ImproperlyConfigured

in the imports.

Change History (3)

comment:1 by Russell Keith-Magee, 14 years ago

Keywords: blocker added
Triage Stage: UnreviewedReady for checkin

comment:2 by Russell Keith-Magee, 14 years ago

Resolution: fixed
Status: newclosed

(In [15214]) Fixed #15079 -- Added a missing import in the cache infrastructure. Thanks to jaylett for the report.

comment:3 by Jacob, 13 years ago

milestone: 1.3

Milestone 1.3 deleted

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