Browse Source

Fixed #15109 - typo in middleware docs; thanks colinsullivan for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15242 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Timo Graham 14 years ago
parent
commit
457aaca7fa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/topics/http/middleware.txt

+ 1 - 1
docs/topics/http/middleware.txt

@@ -114,7 +114,7 @@ Django view.
 ``process_template_response()`` must return an
 :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
+``response.template_name`` and ``response.context_data``, or it could
 create and return a brand-new
 :class:`~django.template.response.SimpleTemplateResponse` (or its subclass)
 instance.