mirror of
https://github.com/django/django.git
synced 2025-01-18 22:33:44 +00:00
eceb5e2eea
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
8 lines
187 B
Python
8 lines
187 B
Python
from django.core.cache.backends.locmem import LocMemCache
|
|
|
|
|
|
class CacheClass(LocMemCache):
|
|
|
|
def set(self, *args, **kwargs):
|
|
raise Exception("Faked exception saving to cache")
|