Changeset 6576
- Timestamp:
- 10/21/07 07:24:37 (11 months ago)
- Files:
-
- django/trunk/AUTHORS (modified) (1 diff)
- django/trunk/docs/middleware.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/AUTHORS
r6570 r6576 330 330 Maciej Wiśniowski <pigletto@gmail.com> 331 331 wojtek 332 Jason Yan <tailofthesun@gmail.com> 332 333 ye7cakf02@sneakemail.com 333 334 ymasuda@ethercube.com django/trunk/docs/middleware.txt
r5875 r6576 179 179 object. If it returns ``None``, Django will continue processing this request, 180 180 executing any other middleware and, then, the appropriate view. If it returns 181 an ``HttpResponse`` object, Django won't bother calling ANY other middleware or 182 the appropriate view; it'll return that ``HttpResponse``. 181 an ``HttpResponse`` object, Django won't bother calling ANY other request, 182 view or exception middleware, or the appropriate view; it'll return that 183 ``HttpResponse``. Response middleware is always called on every response. 183 184 184 185 process_view … … 198 199 Django will continue processing this request, executing any other 199 200 ``process_view()`` middleware and, then, the appropriate view. If it returns an 200 ``HttpResponse`` object, Django won't bother calling ANY other middleware or 201 the appropriate view; it'll return that ``HttpResponse``. 201 ``HttpResponse`` object, Django won't bother calling ANY other request, view 202 or exception middleware, or the appropriate view; it'll return that 203 ``HttpResponse``. Response middleware is always called on every response. 202 204 203 205 process_response … … 237 239 * Feel free to look at Django's available middleware for examples. The 238 240 core Django middleware classes are in ``django/middleware/`` in the 239 Django distribution. The session middleware is in ``django/contrib/sessions``. 241 Django distribution. The session middleware is in 242 ``django/contrib/sessions``. 240 243 241 244 * If you write a middleware component that you think would be useful to
