Opened 13 years ago
Closed 13 years ago
#16410 closed Bug (fixed)
Stange trackeback, if try to get a not existing cache...
Reported by: | jedie | Owned by: | nobody |
---|---|---|---|
Component: | Core (Cache system) | Version: | 1.3 |
Severity: | Normal | Keywords: | cache |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
e.g.:
cache = get_cache('not_existing_cache')
You will get a strange traceback:
File "./django/core/cache/__init__.py", line 173, in get_cache backend, location, params = parse_backend_conf(backend, **kwargs) File "./django/core/cache/__init__.py", line 131, in parse_backend_conf mod_path, cls_name = backend.rsplit('.', 1) ValueError: need more than 1 value to unpack
Note:
See TracTickets
for help on using tickets.
In [16511]: