diff --git a/config/settings/dev.py b/config/settings/dev.py index 94f751e3..ed7face9 100644 --- a/config/settings/dev.py +++ b/config/settings/dev.py @@ -42,6 +42,16 @@ MIDDLEWARE += ["debug_toolbar.middleware.DebugToolbarMiddleware"] # noqa F405 +CACHES = { + "default": { + "BACKEND": "django.core.cache.backends.locmem.LocMemCache", + }, + "machina_attachments": { + "BACKEND": "django.core.cache.backends.filebased.FileBasedCache", + "LOCATION": "/tmp", + }, +} + DEBUG_TOOLBAR_CONFIG = { # https://django-debug-toolbar.readthedocs.io/en/latest/panels.html#panels "DISABLE_PANELS": [