[patch] Dummy cache class doesn't conform to BaseCache interface
|Reported by:||Owned by:||Jacob|
|Component:||Core (Cache system)||Version:|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
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
2) get_many() doesn't return a dictionary.
This patch trivially fixes the Dummy class to behave properly.
Change History (3)
comment:1 Changed 10 years ago by
|Summary:||Dummy cache class doesn't conform to BaseCache interface → [patch] Dummy cache class doesn't conform to BaseCache interface|