~ubuntu-branches/debian/sid/python-django/sid

« back to all changes in this revision

Viewing changes to docs/topics/http/middleware.txt

  • Committer: Package Import Robot
  • Author(s): Luke Faraone
  • Date: 2014-04-21 16:47:14 UTC
  • mfrom: (1.3.14)
  • Revision ID: package-import@ubuntu.com-20140421164714-3mlvyr7y1ssdo9e6
Tags: 1.6.3-1
* New upstream security release.
  - Unexpected code execution using ``reverse()``
  - CVE-2014-0472
  - Caching of anonymous pages could reveal CSRF token
  - CVE-2014-0473
  - MySQL typecasting could result in unexpected matches
  - CVE-2014-0474
* Drop patches 07_translation_encoding_fix and ticket21869.diff; merged
  upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
``process_request``
86
86
-------------------
87
87
 
88
 
.. method:: process_request(self, request)
 
88
.. method:: process_request(request)
89
89
 
90
90
``request`` is an :class:`~django.http.HttpRequest` object.
91
91
 
106
106
``process_view``
107
107
----------------
108
108
 
109
 
.. method:: process_view(self, request, view_func, view_args, view_kwargs)
 
109
.. method:: process_view(request, view_func, view_args, view_kwargs)
110
110
 
111
111
``request`` is an :class:`~django.http.HttpRequest` object. ``view_func`` is
112
112
the Python function that Django is about to use. (It's the actual function
146
146
``process_template_response``
147
147
-----------------------------
148
148
 
149
 
.. method:: process_template_response(self, request, response)
 
149
.. method:: process_template_response(request, response)
150
150
 
151
151
``request`` is an :class:`~django.http.HttpRequest` object. ``response`` is
152
152
the :class:`~django.template.response.TemplateResponse` object (or equivalent)
173
173
``process_response``
174
174
--------------------
175
175
 
176
 
.. method:: process_response(self, request, response)
 
176
.. method:: process_response(request, response)
177
177
 
178
178
``request`` is an :class:`~django.http.HttpRequest` object. ``response`` is
179
179
the :class:`~django.http.HttpResponse` or
235
235
``process_exception``
236
236
---------------------
237
237
 
238
 
.. method:: process_exception(self, request, exception)
 
238
.. method:: process_exception(request, exception)
239
239
 
240
240
``request`` is an :class:`~django.http.HttpRequest` object. ``exception`` is an
241
241
``Exception`` object raised by the view function.