Skip to content

Commit

Permalink
Add comment to clarify UIModule usage
Browse files Browse the repository at this point in the history
  • Loading branch information
rcmachado committed Apr 24, 2013
1 parent 39ac9aa commit c6ed7d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.rst
Expand Up @@ -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):
Expand All @@ -52,6 +53,7 @@ special namespace called ``tomako.template`` in your templates:
.. code-block:: html

<!-- Your template -->
<%namespace name="tomako" module="tomako.template" />

<%tomako:ui uiclass="your.project.module.MyModule" arg1="value1" arg2="value2" />
Expand Down

0 comments on commit c6ed7d4

Please sign in to comment.