From e206eabc68c6dbb018195291afd5722fe7493200 Mon Sep 17 00:00:00 2001 From: Jacob Kaplan-Moss Date: Mon, 25 Aug 2008 12:57:24 +0000 Subject: [PATCH] Fixed #7317: the x-view middleware is no longer enabled by default. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8537 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/conf/global_settings.py | 1 - django/conf/project_template/settings.py | 1 - 2 files changed, 2 deletions(-) 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'