summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-08-16 23:02:06 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-08-16 23:02:06 +0000
commit72109f4e35776c31d5e75174accabfe451abdade (patch)
treef0fc61d41970dec8e96aefb2a358b1473d17b727
parent07889c13a63eeb3e8a73f1e02a21227def3ae548 (diff)
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
-rw-r--r--django/conf/global_settings.py1
1 files changed, 1 insertions, 0 deletions
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",
)