summaryrefslogtreecommitdiff
path: root/pystache/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'pystache/__init__.py')
-rw-r--r--pystache/__init__.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/pystache/__init__.py b/pystache/__init__.py
index 314c5c8..daf7f52 100644
--- a/pystache/__init__.py
+++ b/pystache/__init__.py
@@ -1,8 +1,2 @@
-from pystache.template import Template
-from pystache.view import View
-from pystache.loader import Loader
-
-def render(template, context=None, **kwargs):
- context = context and context.copy() or {}
- context.update(kwargs)
- return Template(template, context).render()
+# We keep all initialization code in a separate module.
+from init import *