Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/b/n/bnw-HEAD/bnw/web/uimodules.py   bnw(Download)
import tornado.web
from bnw.web.base import get_defargs
from bnw.web.widgets import widgets
 
 
class Message(tornado.web.UIModule):
    def render(self, msg, full=False, username=None, secure=False):
        args = get_defargs(self.handler)
    def render(self, comment, secure=False):
        args = get_defargs(self.handler)
        args['comment'] = comment
        return self.render_string('module-comment.html', **args)