[layerindexweb,3/7] settings.py: Replacing MIDDLEWARE_CLASSES with MIDDLEWARE for Django 2.2 upgrade.

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

Details

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

Commit Message

Elliot, Amber N June 25, 2020, 10:57 p.m.
Signed-off-by: Amber Elliot <amber.n.elliot@intel.com>
---
 settings.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

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