Skip to content

Commit

Permalink
[django] Dropped obsolete MIDDLEWARE_CLASSES
Browse files Browse the repository at this point in the history
  • Loading branch information
nemesifier committed Dec 15, 2018
1 parent e52d329 commit 2137298
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions templates/openwisp2/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
'openwisp_utils.staticfiles.DependencyFinder',
]
MIDDLEWARE_CLASSES = [
MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
Expand All @@ -89,7 +89,6 @@
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]
MIDDLEWARE = MIDDLEWARE_CLASSES
ROOT_URLCONF = 'openwisp2.urls'
Expand Down

0 comments on commit 2137298

Please sign in to comment.