Browse 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 19 years ago
parent
commit
e9727a857b
1 changed files with 1 additions and 1 deletions
  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])