diff --git a/ietf/settings.py b/ietf/settings.py index 6cfc9103ff3..6d9dc00e0e0 100644 --- a/ietf/settings.py +++ b/ietf/settings.py @@ -1363,8 +1363,13 @@ def skip_unreadable_post(record): TEMPLATES[0]['OPTIONS']['context_processors'] += DEV_TEMPLATE_CONTEXT_PROCESSORS if "CACHES" not in locals(): - if SERVER_MODE == "production": - raise RuntimeError("Must set CACHES in settings_local for production mode") + # Would like to refuse to start when in prod mode, but this currently blocks + # the collectstatics call in the release GHA. We should probably arrange for that + # to have its own caches config, but in the meantime just let this fall back to + # the dev cache configuration. + # + # if SERVER_MODE == "production": + # raise RuntimeError("Must set CACHES in settings_local for production mode") CACHES = { "default": { "BACKEND": "django.core.cache.backends.dummy.DummyCache",