Skip to content

Commit

Permalink
Merge pull request #123 from openwisp/qa
Browse files Browse the repository at this point in the history
[django] Dropped obsolete MIDDLEWARE_CLASSES
  • Loading branch information
nemesifier authored Dec 15, 2018
2 parents e52d329 + 2137298 commit 3b42afa
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 3b42afa

Please sign in to comment.