1 2 3 4 5 6 7 8 9 10
import pystache class DoubleSection(pystache.View): template_path = 'examples' def t(self): return True def two(self): return "second"