#17801: Adding DummyCache causes contrib.session tests to fail
-------------------------------------+-------------------------------------
Reporter: d0ugal | Owner: nobody
Type: Bug | Status: closed
Component: Core (Cache system) | Version:
Severity: Normal | 1.4-beta-1
Keywords: | Resolution: wontfix
Has patch: 0 | Triage Stage:
Needs tests: 0 | Unreviewed
Easy pickings: 0 | Needs documentation: 0
| Patch needs improvement: 0
| UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by jezdez):
* status: new => closed
* needs_better_patch: => 0
* component: contrib.sessions => Core (Cache system)
* needs_tests: => 0
* needs_docs: => 0
* resolution: => wontfix
Comment:
This is an expected behavior since the dummy cache returns False by
default when calling its `has_key` method (which is done by the
`cached_db` and `cache` session backends' `exists` method) .
The workaround is to use the locmem cache backend instead.
--
Ticket URL: <https://code.djangoproject.com/ticket/17801#comment:1>
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.