Added missing file forgotten in r17479.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17485 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
55aa285a33
commit
8ae02fde2b
|
@ -0,0 +1,11 @@
|
|||
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
|
Loading…
Reference in New Issue