diff roundup/cgi/templating.py @ 4720:fd72576e07ed

API break: rename Templates to Loader for zopetal and chameleon engines.
author anatoly techtonik <techtonik@gmail.com>
date Sun, 06 Jan 2013 16:36:33 +0300
parents 05fe39f1d823
children ec359e7c6c95
line wrap: on
line diff
--- a/roundup/cgi/templating.py	Sun Jan 06 16:02:45 2013 +0300
+++ b/roundup/cgi/templating.py	Sun Jan 06 16:36:33 2013 +0300
@@ -160,7 +160,7 @@
         import engine_chameleon as engine
     else:
         import engine_zopetal as engine
-    return engine.Templates(dir)
+    return engine.Loader(dir)
 
 def context(client, template=None, classname=None, request=None):
     """Return the rendering context dictionary

Roundup Issue Tracker: http://roundup-tracker.org/