2010-12-21 23:19:19 +08:00
|
|
|
from django.core.cache.backends.locmem import LocMemCache
|
2010-09-13 02:45:26 +08:00
|
|
|
|
2011-10-14 02:51:33 +08:00
|
|
|
|
2017-01-19 15:39:46 +08:00
|
|
|
class LiberalKeyValidationMixin:
|
2010-09-13 02:45:26 +08:00
|
|
|
def validate_key(self, key):
|
|
|
|
pass
|
|
|
|
|
2013-11-03 12:36:09 +08:00
|
|
|
|
2010-12-21 23:19:19 +08:00
|
|
|
class CacheClass(LiberalKeyValidationMixin, LocMemCache):
|
2010-09-13 02:45:26 +08:00
|
|
|
pass
|