#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 , 15 years ago
| Keywords: | blocker added |
|---|---|
| Triage Stage: | Unreviewed → Ready for checkin |
comment:2 by , 15 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [15214]) Fixed #15079 -- Added a missing import in the cache infrastructure. Thanks to jaylett for the report.