1
0
mirror of https://github.com/django/django.git synced 2024-12-25 02:26:12 +00:00

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

View File

@ -112,11 +112,11 @@ middleware is always called on every response.
Django view. Django view.
``process_template_response()`` must return an ``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 object. It could alter the given ``response`` by changing
``response.template_name`` and ``response.template_context``, or it could ``response.template_name`` and ``response.template_context``, or it could
create and return a brand-new create and return a brand-new
:class:`~django.template.response.SimpleTemplateResponse` (or it's subclass) :class:`~django.template.response.SimpleTemplateResponse` (or its subclass)
instance. instance.
``process_template_response()`` will only be called if the response ``process_template_response()`` will only be called if the response