mirror of
https://github.com/django/django.git
synced 2025-10-26 07:06:08 +00:00
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
This commit is contained in:
@@ -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",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user