mirror of
https://github.com/django/django.git
synced 2024-12-25 02:26:12 +00:00
7a61c68c50
Signed-off-by: Jason Myers <jason@jasonamyers.com>
13 lines
226 B
Python
13 lines
226 B
Python
from django.core.cache.backends.locmem import LocMemCache
|
|
|
|
|
|
class CloseHookMixin(object):
|
|
closed = False
|
|
|
|
def close(self, **kwargs):
|
|
self.closed = True
|
|
|
|
|
|
class CacheClass(CloseHookMixin, LocMemCache):
|
|
pass
|