Parcourir la source

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 il y a 19 ans
Parent
commit
e9727a857b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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])