瀏覽代碼

Fixed error in docs/templates_python.txt (thanks, Alice)

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1909 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Jacob Kaplan-Moss 19 年之前
父節點
當前提交
e9727a857b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/templates_python.txt

+ 1 - 1
docs/templates_python.txt

@@ -272,7 +272,7 @@ optional, third positional argument, ``processors``. In this example, the
 
     def some_view(request):
         # ...
-        return DjangoContext({
+        return DjangoContext(request, {
             'foo': 'bar',
         }, [ip_address_processor])