Opened 4 years ago

Closed 4 years ago

Last modified 3 years ago

#15079 closed (fixed)

django/core/cache/__init__.py missing import

Reported by: jaylett 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 4 years ago by russellm

  • Keywords blocker added
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

comment:2 Changed 4 years ago by russellm

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

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

comment:3 Changed 3 years ago by jacob

  • milestone 1.3 deleted

Milestone 1.3 deleted

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