Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

magic-removal: Fixed #1655 -- Fixed new SessionMiddleware location in…

… docs

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2714 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 5f7e3144fc732b4b5acf808c15eee5086c48b26b 1 parent 4b3048d
@adrianholovaty adrianholovaty authored
Showing with 3 additions and 2 deletions.
  1. +2 −1  docs/settings.txt
  2. +1 −1  docs/transactions.txt
View
3  docs/settings.txt
@@ -520,7 +520,8 @@ MIDDLEWARE_CLASSES
Default::
- ("django.middleware.sessions.SessionMiddleware",
+ ("django.contrib.sessions.middleware.SessionMiddleware",
+ "django.contrib.auth.middleware.AuthenticationMiddleware",
"django.middleware.common.CommonMiddleware",
"django.middleware.doc.XViewMiddleware")
View
2  docs/transactions.txt
@@ -28,8 +28,8 @@ handle transactions. To activate this feature, just add the
``TransactionMiddleware`` middleware to your stack::
MIDDLEWARE_CLASSES = (
+ "django.contrib.sessions.middleware.SessionMiddleware",
"django.middleware.common.CommonMiddleware",
- "django.middleware.sessions.SessionMiddleware",
"django.middleware.cache.CacheMiddleware",
"django.middleware.transaction.TransactionMiddleware",
)
Please sign in to comment.
Something went wrong with that request. Please try again.