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 năm trước cách đây
mục cha
commit
457aaca7fa
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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.