From 6ebfd367ab896f86f22328608c830d172265a1b9 Mon Sep 17 00:00:00 2001 From: keannu125 Date: Sun, 19 Mar 2023 21:00:28 +0800 Subject: [PATCH] Whitenoise hotfix --- project/config/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/project/config/settings.py b/project/config/settings.py index 11e6a48..b355ce6 100644 --- a/project/config/settings.py +++ b/project/config/settings.py @@ -50,6 +50,7 @@ INSTALLED_APPS = [ MIDDLEWARE = [ 'django.middleware.security.SecurityMiddleware', + "whitenoise.middleware.WhiteNoiseMiddleware", 'django.contrib.sessions.middleware.SessionMiddleware', "corsheaders.middleware.CorsMiddleware", 'django.middleware.common.CommonMiddleware',