adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37  committed e7c290d

Fixed #2561 -- memcached cache backend no longer ignores default timeout. Thanks for the report and patch, Christopher Lenz

  • Participants
  • Parent commits 951b0ec
  • Branches default

Comments (0)

Files changed (1)

File django/core/cache/backends/

             return val
     def set(self, key, value, timeout=0):
-        self._cache.set(key, value, timeout)
+        self._cache.set(key, value, timeout or self.default_timeout)
     def delete(self, key):