Refs #33060 -- Added .make_key() in .touch() for dummy cache backend.

All cache operations should use make_key().
This commit is contained in:
Nick Pope 2021-08-26 13:54:26 +01:00 committed by Mariusz Felisiak
parent 0e8be73812
commit 68b8eda788
1 changed files with 1 additions and 0 deletions

View File

@ -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