From e32c17683374c72c519beabe8d36873f4642defc Mon Sep 17 00:00:00 2001 From: Pushyami Gundala Date: Tue, 4 Feb 2025 14:20:29 -0500 Subject: [PATCH] I1626 using watchman checks (#1639) --- dashboard/settings.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dashboard/settings.py b/dashboard/settings.py index 5cb72699..4e3e5b0c 100644 --- a/dashboard/settings.py +++ b/dashboard/settings.py @@ -111,6 +111,11 @@ def apply_env_overrides(env: Dict[str, Any], environ: os._Environ) -> Dict[str, # Only report on the default database WATCHMAN_DATABASES = ('default',) +WATCHMAN_CHECKS = ( + "watchman.checks.caches", + "watchman.checks.databases", +) + # courses_enabled api COURSES_ENABLED = ENV.get('COURSES_ENABLED', False) # Fall back to the old config name @@ -175,9 +180,6 @@ def apply_env_overrides(env: Dict[str, Any], environ: os._Environ) -> Dict[str, "staticfiles": { "BACKEND": 'whitenoise.storage.CompressedManifestStaticFilesStorage', }, - 'default': { - 'BACKEND': 'django.core.files.storage.InMemoryStorage', - } } CONTEXT_PROCESSORS = [ 'django.contrib.auth.context_processors.auth',