Code

Ticket #16162: dummy-timeout.diff

File dummy-timeout.diff, 465 bytes (added by simon29, 3 years ago)
Line 
1Index: django/core/cache/backends/dummy.py
2===================================================================
3--- django/core/cache/backends/dummy.py (revision 16332)
4+++ django/core/cache/backends/dummy.py (working copy)
5@@ -32,7 +32,7 @@
6         self.validate_key(key)
7         return False
8 
9-    def set_many(self, data, version=None):
10+    def set_many(self, data, timeout=None, version=None):
11         pass
12 
13     def delete_many(self, keys, version=None):