From c6ed7d4977c3270a06e22c48c094b46c4fd56749 Mon Sep 17 00:00:00 2001 From: Rodrigo Machado Date: Tue, 23 Apr 2013 21:59:09 -0300 Subject: [PATCH] Add comment to clarify UIModule usage --- README.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.rst b/README.rst index 8ec64f3..d58eabf 100644 --- a/README.rst +++ b/README.rst @@ -43,6 +43,7 @@ special namespace called ``tomako.template`` in your templates: .. code-block:: python + # Your python file from tornado.web import UIModule class MyModule(UIModule): @@ -52,6 +53,7 @@ special namespace called ``tomako.template`` in your templates: .. code-block:: html + <%namespace name="tomako" module="tomako.template" /> <%tomako:ui uiclass="your.project.module.MyModule" arg1="value1" arg2="value2" />