summaryrefslogtreecommitdiff
path: root/examples/inverted.py
blob: 18950504101b732ab4938a1c88dd552e73757b9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import pystache

class Inverted(pystache.View):
    template_path = 'examples'

    def t(self):
        return True

    def f(self):
        return False

    def two(self):
        return 'two'