mirror of https://github.com/django/django.git
Refs #33060 -- Added .make_key() in .touch() for dummy cache backend.
All cache operations should use make_key().
This commit is contained in:
parent
0e8be73812
commit
68b8eda788
|
@ -22,6 +22,7 @@ class DummyCache(BaseCache):
|
|||
self.validate_key(key)
|
||||
|
||||
def touch(self, key, timeout=DEFAULT_TIMEOUT, version=None):
|
||||
key = self.make_key(key, version=version)
|
||||
self.validate_key(key)
|
||||
return False
|
||||
|
||||
|
|
Loading…
Reference in New Issue