Răsfoiți Sursa

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 ani în urmă
părinte
comite
e9727a857b
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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])