From e53d8f44c31fcc759ba46206d6e074067957c1c5 Mon Sep 17 00:00:00 2001 From: lauren Date: Tue, 10 Nov 2020 09:28:11 -0500 Subject: [PATCH] fix whitenoise --- studyguides/settings/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/studyguides/settings/__init__.py b/studyguides/settings/__init__.py index 166e262..c7255ec 100644 --- a/studyguides/settings/__init__.py +++ b/studyguides/settings/__init__.py @@ -49,6 +49,7 @@ INSTALLED_APPS = [ MIDDLEWARE = [ 'django.middleware.security.SecurityMiddleware', + 'whitenoise.middleware.WhiteNoiseMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware',