mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #16162. Added timeout arg to DummyCache.set_many, for compatiblity with other caches. Thanks to aaugustin for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16778 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
2
django/core/cache/backends/dummy.py
vendored
2
django/core/cache/backends/dummy.py
vendored
@@ -32,7 +32,7 @@ class DummyCache(BaseCache):
|
||||
self.validate_key(key)
|
||||
return False
|
||||
|
||||
def set_many(self, data, version=None):
|
||||
def set_many(self, data, timeout=0, version=None):
|
||||
pass
|
||||
|
||||
def delete_many(self, keys, version=None):
|
||||
|
||||
Reference in New Issue
Block a user