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

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

    def first(self):
        return "It worked the first time."

    def second(self):
        return "And it worked the second time."

    def third(self):
        return "Then, surprisingly, it worked the third time."