From: Ben Darnell Date: Sat, 4 Jun 2011 21:35:25 +0000 (-0700) Subject: Documentation fix X-Git-Tag: v2.0.0~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f3784654734fdef78b7fbb87a25ea146692a350;p=thirdparty%2Ftornado.git Documentation fix --- diff --git a/website/templates/documentation.txt b/website/templates/documentation.txt index 3807fdc9b..bc9c85ff9 100644 --- a/website/templates/documentation.txt +++ b/website/templates/documentation.txt @@ -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: