[layerindexweb,7/7] docker/settings.py: MIDDLEWARE

Submitted by Elliot, Amber N on June 25, 2020, 10:57 p.m. | Patch ID: 173926

Details

Message ID 20200625225739.32402-8-amber.n.elliot@intel.com
State New
Headers show

Commit Message

Elliot, Amber N June 25, 2020, 10:57 p.m.
From: Tim Orling <ticotimo@gmail.com>

The docker/settings.py file also needs the change from
"Changing MIDDLEWARE_CLASSES to MIDDLEWARE."

Signed-off-by: Tim Orling <ticotimo@gmail.com>
---
 docker/settings.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/docker/settings.py b/docker/settings.py
index 2821d82..fb7d376 100644
--- a/docker/settings.py
+++ b/docker/settings.py
@@ -92,7 +92,7 @@  STATICFILES_FINDERS = (
 # Make this unique, and don't share it with anybody.
 SECRET_KEY = os.getenv('SECRET_KEY', '')
 
-MIDDLEWARE_CLASSES = (
+MIDDLEWARE = (
     'corsheaders.middleware.CorsMiddleware',
     'django.middleware.common.CommonMiddleware',
     'django.contrib.sessions.middleware.SessionMiddleware',