Commit 061a9cad authored by Russell Keith-Magee's avatar Russell Keith-Magee
Browse files

Corrected typo in middleware docs. Thanks to matt_c for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14851 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent e0dcd766
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -112,11 +112,11 @@ middleware is always called on every response.
Django view.

``process_template_response()`` must return an
:class:`~django.template.response.SimpleTemplateResponse` (or it's subclass)
:class:`~django.template.response.SimpleTemplateResponse` (or its subclass)
object. It could alter the given ``response`` by changing
``response.template_name`` and ``response.template_context``, or it could
create and return a brand-new
:class:`~django.template.response.SimpleTemplateResponse` (or it's subclass)
:class:`~django.template.response.SimpleTemplateResponse` (or its subclass)
instance.

``process_template_response()`` will only be called if the response