Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#15079 closed (fixed)

django/core/cache/__init__.py missing import

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

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 Changed 6 years ago by Russell Keith-Magee

Keywords: blocker added
Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedReady for checkin

comment:2 Changed 6 years ago by Russell Keith-Magee

Resolution: fixed
Status: newclosed

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

comment:3 Changed 5 years ago by Jacob

milestone: 1.3

Milestone 1.3 deleted

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