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:
parent
e0dcd7666a
commit
061a9cad67
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user