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
This commit is contained in:
Russell Keith-Magee 2010-12-07 14:59:57 +00:00
parent e0dcd7666a
commit 061a9cad67
1 changed files with 2 additions and 2 deletions

View File

@ -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