mirror of
https://github.com/django/django.git
synced 2024-12-26 11:06:07 +00:00
8ae02fde2b
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17485 bcc190cf-cafb-0310-a4f2-bffc1f526a37
12 lines
225 B
Python
12 lines
225 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
|