Files
pystache/examples/template_partial.py
T
2009-11-12 20:55:09 -08:00

11 lines
199 B
Python

import pystache
class TemplatePartial(pystache.View):
template_path = 'examples'
def title(self):
return "Welcome"
def title_bars(self):
return '-' * len(self.title())