#15269: get_cache method should be documented as part of move to CACHES ---------------------------------------+------------------------------- Reporter: abdelazer@… | Owner: nobody Type: Bug | Status: new Milestone: | Component: Documentation Version: SVN | Severity: Normal Resolution: | Keywords: Triage Stage: Accepted | Has patch: 0 Needs documentation: 0 | Needs tests: 0 Patch needs improvement: 0 | Easy pickings: 0 UI/UX: 0 | ---------------------------------------+------------------------------- Changes (by jedie):
* cc: django@… (added) * ui_ux: => 0 Comment: Before making get_cache() "public" it should IMHO changed a little bit. Because try this: {{{ 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 }}} Should i open a new ticket for this? -- Ticket URL: <https://code.djangoproject.com/ticket/15269#comment:4> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.