Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated middleware.txt to note that response middleware is applied in…

… reverse

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1161 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 394eafb840ae2fe0dd2ebde42d32b8b937e706ec 1 parent 8613b74
Adrian Holovaty adrianholovaty authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  docs/middleware.txt
3  docs/middleware.txt
View
@@ -27,7 +27,8 @@ name. For example, here's the default ``MIDDLEWARE_CLASSES`` created by
"django.middleware.doc.XViewMiddleware",
)
-Django applies middleware in the order it's defined in ``MIDDLEWARE_CLASSES``.
+Django applies middleware in the order it's defined in ``MIDDLEWARE_CLASSES``,
+except in the case of response middleware, which is applied in reverse order.
A Django installation doesn't require any middleware -- e.g.,
``MIDDLEWARE_CLASSES`` can be empty, if you'd like -- but it's strongly
Please sign in to comment.
Something went wrong with that request. Please try again.