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:
Jannis Leidel 2012-02-10 01:13:09 +00:00
parent 55aa285a33
commit 8ae02fde2b
1 changed files with 11 additions and 0 deletions

View File

@ -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