From d334f46b7a080fd3eb720141c19b37b10704a352 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sat, 31 Dec 2016 13:24:00 -0500 Subject: Refs #26601 -- Removed support for old-style middleware using settings.MIDDLEWARE_CLASSES. --- django/conf/global_settings.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'django/conf') diff --git a/django/conf/global_settings.py b/django/conf/global_settings.py index f732682b1c..9cf2732d30 100644 --- a/django/conf/global_settings.py +++ b/django/conf/global_settings.py @@ -447,12 +447,7 @@ SECURE_PROXY_SSL_HEADER = None # List of middleware to use. Order is important; in the request phase, these # middleware will be applied in the order given, and in the response # phase the middleware will be applied in reverse order. -MIDDLEWARE_CLASSES = [ - 'django.middleware.common.CommonMiddleware', - 'django.middleware.csrf.CsrfViewMiddleware', -] - -MIDDLEWARE = None +MIDDLEWARE = [] ############ # SESSIONS # -- cgit v1.3