def __init__(self, template_name, model=None, **kw):
        self.template_name = template_name
        self.model = dict()
        if model:
            self.model.update(model)
        self.model.update(kw)
        if '_' in __builtin__.__dict__:
            self.model['_'] = _
Init a template object with template name, model as dict, and additional kw that will append to model.
dataset/ETHPy150Open michaelliao/transwarp/transwarp/web.py/Template.__init__