From 72109f4e35776c31d5e75174accabfe451abdade Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Tue, 16 Aug 2005 23:02:06 +0000 Subject: [PATCH] Added SessionMiddleware to MIDDLEWARE_CLASSES in global_settings, so it's available by default. git-svn-id: http://code.djangoproject.com/svn/django/trunk@519 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/conf/global_settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django/conf/global_settings.py b/django/conf/global_settings.py index 54fdcf0770..8602cab229 100644 --- a/django/conf/global_settings.py +++ b/django/conf/global_settings.py @@ -106,6 +106,7 @@ SECRET_KEY = '' # this middleware classes will be applied in the order given, and in the # response phase the middleware will be applied in reverse order. MIDDLEWARE_CLASSES = ( + "django.middleware.sessions.SessionMiddleware", "django.middleware.common.CommonMiddleware", "django.middleware.doc.XViewMiddleware", )