diff options
Diffstat (limited to 'examples/unicode_input.py')
-rw-r--r-- | examples/unicode_input.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/unicode_input.py b/examples/unicode_input.py new file mode 100644 index 0000000..9f3684f --- /dev/null +++ b/examples/unicode_input.py @@ -0,0 +1,8 @@ +import pystache + +class UnicodeInput(pystache.View): + template_path = 'examples' + template_encoding = 'utf8' + + def age(self): + return 156 |