diff --git a/django/core/cache/backends/dummy.py b/django/core/cache/backends/dummy.py index 3913746c49..450d0997a6 100644 --- a/django/core/cache/backends/dummy.py +++ b/django/core/cache/backends/dummy.py @@ -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