diff options
Diffstat (limited to 'parts/django/tests/regressiontests/cache/liberal_backend.py')
-rw-r--r-- | parts/django/tests/regressiontests/cache/liberal_backend.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/parts/django/tests/regressiontests/cache/liberal_backend.py b/parts/django/tests/regressiontests/cache/liberal_backend.py new file mode 100644 index 0000000..5c7e312 --- /dev/null +++ b/parts/django/tests/regressiontests/cache/liberal_backend.py @@ -0,0 +1,9 @@ +from django.core.cache.backends.locmem import CacheClass as LocMemCacheClass + +class LiberalKeyValidationMixin(object): + def validate_key(self, key): + pass + +class CacheClass(LiberalKeyValidationMixin, LocMemCacheClass): + pass + |