From 2137298ecd1e41a1f89145283cdbbe5a1e7ba32e Mon Sep 17 00:00:00 2001 From: Federico Capoano Date: Wed, 12 Dec 2018 14:14:17 +0100 Subject: [PATCH] [django] Dropped obsolete MIDDLEWARE_CLASSES --- templates/openwisp2/settings.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/openwisp2/settings.py b/templates/openwisp2/settings.py index 8b182517..fe4b84f4 100644 --- a/templates/openwisp2/settings.py +++ b/templates/openwisp2/settings.py @@ -80,7 +80,7 @@ 'openwisp_utils.staticfiles.DependencyFinder', ] -MIDDLEWARE_CLASSES = [ +MIDDLEWARE = [ 'django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', @@ -89,7 +89,6 @@ 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', ] -MIDDLEWARE = MIDDLEWARE_CLASSES ROOT_URLCONF = 'openwisp2.urls'