Files
pystache/examples/inverted.py
T

19 lines
310 B
Python

import pystache
class Inverted(pystache.View):
template_path = 'examples'
def t(self):
return True
def f(self):
return False
def two(self):
return 'two'
def empty_list(self):
return []
def populated_list(self):
return ['some_value']