summaryrefslogtreecommitdiff
path: root/pystache/loader.py
diff options
context:
space:
mode:
authorChris Jerdonek <chris.jerdonek@gmail.com>2012-10-16 23:51:24 -0700
committerChris Jerdonek <chris.jerdonek@gmail.com>2012-10-16 23:51:24 -0700
commit6f0a3612c240940e079e06f1c16c65a6c1b54a7d (patch)
treec35d2db1601ca603829e2306d2236a2a29313bee /pystache/loader.py
parentf14e42de9b3b11763cf7ee745de58d89816874f0 (diff)
downloadpystache-6f0a3612c240940e079e06f1c16c65a6c1b54a7d.tar.gz
Address issue #122: add Renderer.render_name().
This commit adds a Renderer.render_name() method that lets one render a template given its name.
Diffstat (limited to 'pystache/loader.py')
-rw-r--r--pystache/loader.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pystache/loader.py b/pystache/loader.py
index 5855392..d4a7e53 100644
--- a/pystache/loader.py
+++ b/pystache/loader.py
@@ -33,6 +33,8 @@ class Loader(object):
"""
Loads the template associated to a name or user-defined object.
+ All load_*() methods return the template as a unicode string.
+
"""
def __init__(self, file_encoding=None, extension=None, to_unicode=None,