diff --git a/django/conf/global_settings.py b/django/conf/global_settings.py index c52d8d9a89..2c48571787 100644 --- a/django/conf/global_settings.py +++ b/django/conf/global_settings.py @@ -300,7 +300,6 @@ MIDDLEWARE_CLASSES = ( # 'django.middleware.http.ConditionalGetMiddleware', # 'django.middleware.gzip.GZipMiddleware', 'django.middleware.common.CommonMiddleware', - 'django.middleware.doc.XViewMiddleware', ) ############ diff --git a/django/conf/project_template/settings.py b/django/conf/project_template/settings.py index 5c4a7cc5fa..bbf005ddea 100644 --- a/django/conf/project_template/settings.py +++ b/django/conf/project_template/settings.py @@ -61,7 +61,6 @@ MIDDLEWARE_CLASSES = ( 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', - 'django.middleware.doc.XViewMiddleware', ) ROOT_URLCONF = '{{ project_name }}.urls'