From 061a9cad675a536e50a18650d0a1c78c54c0c670 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Tue, 7 Dec 2010 14:59:57 +0000 Subject: [PATCH] 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 --- docs/topics/http/middleware.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/topics/http/middleware.txt b/docs/topics/http/middleware.txt index c03eb155d6..91e7afe2ba 100644 --- a/docs/topics/http/middleware.txt +++ b/docs/topics/http/middleware.txt @@ -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