Use memcached cache

This commit is contained in:
Alexandre Iooss 2020-09-21 15:13:43 +02:00
parent d54ab94ceb
commit 3d733ed6af
No known key found for this signature in database
GPG key ID: 6C79278F3FCDCC02
7 changed files with 28 additions and 5 deletions

View file

@ -24,6 +24,14 @@ if os.getenv("DJANGO_DEV_STORE_METHOD", "sqlite") != "postgresql":
}
}
# Dummy cache for development
# https://docs.djangoproject.com/en/2.2/topics/cache/#setting-up-the-cache
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
}
}
# Break it, fix it!
DEBUG = True