django/tests/cache/liberal_backend.py

11 lines
208 B
Python

from django.core.cache.backends.locmem import LocMemCache
class LiberalKeyValidationMixin:
def validate_key(self, key):
pass
class CacheClass(LiberalKeyValidationMixin, LocMemCache):
pass