summaryrefslogtreecommitdiff
path: root/tempita/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'tempita/__init__.py')
-rw-r--r--tempita/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tempita/__init__.py b/tempita/__init__.py
index 4a3a771..b15031d 100644
--- a/tempita/__init__.py
+++ b/tempita/__init__.py
@@ -148,7 +148,7 @@ class Template(object):
% (args[0],))
kw = args[0]
ns = self.default_namespace.copy()
- ns['__name__'] = self.name
+ ns['__template_name__'] = self.name
ns.update(self.namespace)
ns.update(kw)
result, defs, inherit = self._interpret(ns)