Skip to content
Browse files

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
  • Loading branch information...
1 parent 07889c1 commit 72109f4e35776c31d5e75174accabfe451abdade @adrianholovaty adrianholovaty committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 django/conf/global_settings.py
View
1 django/conf/global_settings.py
@@ -106,6 +106,7 @@
# 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",
)

0 comments on commit 72109f4

Please sign in to comment.
Something went wrong with that request. Please try again.