mirror of
https://github.com/kennethreitz-archive/pystache.git
synced 2026-06-20 07:20:59 +00:00
14 lines
320 B
Python
14 lines
320 B
Python
import pystache
|
|
|
|
class Delimiters(pystache.View):
|
|
template_path = 'examples'
|
|
|
|
def first(self, text):
|
|
return "It worked the first time."
|
|
|
|
def second(self, text):
|
|
return "And it worked the second time."
|
|
|
|
def third(self, text):
|
|
return "Then, surprisingly, it worked the third time."
|