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...
1 parent 4b3048d commit 5f7e3144fc732b4b5acf808c15eee5086c48b26b @adrianholovaty adrianholovaty committed Apr 18, 2006
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",
)

0 comments on commit 5f7e314

Please sign in to comment.