]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Documentation fix
authorBen Darnell <ben@bendarnell.com>
Sat, 4 Jun 2011 21:35:25 +0000 (14:35 -0700)
committerBen Darnell <ben@bendarnell.com>
Sat, 4 Jun 2011 21:35:25 +0000 (14:35 -0700)
website/templates/documentation.txt

index 3807fdc9bb4fa1ca32951aa4ce7c0246762d10a3..bc9c85ff9ed8db2027009e3cae3b5424c6e1229b 100644 (file)
@@ -683,7 +683,7 @@ a Python module for your UI modules, e.g., `uimodules.py`:
     class Entry(tornado.web.UIModule):
         def render(self, entry, show_comments=False):
             return self.render_string(
-                "module-entry.html", show_comments=show_comments)
+                "module-entry.html", entry=entry, show_comments=show_comments)
 
 Tell Tornado to use `uimodules.py` using the `ui_modules` setting in your
 application: