mirror of
https://github.com/Hopiu/django.git
synced 2026-04-03 14:50:40 +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:
parent
07889c13a6
commit
72109f4e35
1 changed files with 1 additions and 0 deletions
|
|
@ -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",
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue