@@ -10,7 +10,7 @@ try:
|
||||
return caches[name]
|
||||
except ImportError:
|
||||
from django.core.cache import get_cache
|
||||
|
||||
|
||||
from django.core.files.base import ContentFile
|
||||
from django.utils.encoding import force_text, smart_bytes
|
||||
from django.utils.functional import SimpleLazyObject
|
||||
|
@@ -3,7 +3,13 @@ import django
|
||||
|
||||
TEST_DIR = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'tests')
|
||||
|
||||
COMPRESS_CACHE_BACKEND = 'django.core.cache.backends.locmem.LocMemCache'
|
||||
|
||||
CACHES = {
|
||||
'default': {
|
||||
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
|
||||
'LOCATION': 'unique-snowflake'
|
||||
}
|
||||
}
|
||||
|
||||
DATABASES = {
|
||||
'default': {
|
||||
|
Reference in New Issue
Block a user