delimiters.py 302 Bytes
Newer Older
Chris Wanstrath committed
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."