Ticket #3290: 3290_DummyCache_patch.diff
File 3290_DummyCache_patch.diff, 661 bytes (added by , 18 years ago) |
---|
-
django/core/cache/backends/dummy.py
6 6 def __init__(self, *args, **kwargs): 7 7 pass 8 8 9 def get(self, *args, **kwargs):10 pass9 def get(self, key, default=None): 10 return default 11 11 12 12 def set(self, *args, **kwargs): 13 13 pass … … 16 16 pass 17 17 18 18 def get_many(self, *args, **kwargs): 19 pass19 return {} 20 20 21 21 def has_key(self, *args, **kwargs): 22 22 return False