From f3fc5f6179bb81496f9c23e5a3bb9ddf11642720 Mon Sep 17 00:00:00 2001 From: Hugh Rundle Date: Sat, 11 Nov 2023 12:45:04 +1100 Subject: [PATCH] add file_resubmit to DUMMY caches settings --- bookwyrm/settings.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bookwyrm/settings.py b/bookwyrm/settings.py index 8c1841e2e..cb5a576a2 100644 --- a/bookwyrm/settings.py +++ b/bookwyrm/settings.py @@ -243,7 +243,11 @@ if env.bool("USE_DUMMY_CACHE", False): CACHES = { "default": { "BACKEND": "django.core.cache.backends.dummy.DummyCache", - } + }, + "file_resubmit": { + "BACKEND": "django.core.cache.backends.dummy.DummyCache", + "LOCATION": "/tmp/file_resubmit_tests/", + }, } else: CACHES = {