#3290: Dummy cache class doesn't conform to BaseCache interface
----------------------------------------------------+-----------------------
Reporter: Ned Batchelder <[EMAIL PROTECTED]> | Owner: jacob
Type: defect | Status: new
Priority: normal | Milestone:
Component: Cache system | Version:
Severity: normal | Keywords:
----------------------------------------------------+-----------------------
The Dummy cache (django.core.cache.backends.dummy) doesn't implement the
BaseCache interface in two ways:
1) get() doesn't return the value of its `default` argument.
2) get_many() doesn't return a dictionary.
This patch trivially fixes the Dummy class to behave properly.
--
Ticket URL: <http://code.djangoproject.com/ticket/3290>
Django <http://code.djangoproject.org/>
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
-~----------~----~----~----~------~----~------~--~---