diff roundup/cgi/engine_jinja2.py @ 4748:e339583eae8e

templating: rename precompileTemplates to precompile
author anatoly techtonik <techtonik@gmail.com>
date Mon, 21 Jan 2013 23:51:39 +0300
parents 2d6959f1d2df
children 12b029655c05
line wrap: on
line diff
--- a/roundup/cgi/engine_jinja2.py	Mon Jan 21 23:04:55 2013 +0300
+++ b/roundup/cgi/engine_jinja2.py	Mon Jan 21 23:51:39 2013 +0300
@@ -25,7 +25,7 @@
 [ ] figure out what to do with autoescaping - it is disabled
     by default in Jinja2
 
-[ ] precompileTemplates is a stub
+[ ] precompile() is a stub
 
 [ ] add {{ debug() }} dumper to inspect available variables
     https://github.com/mitsuhiko/jinja2/issues/174
@@ -59,7 +59,7 @@
         #src, filename = self.check(tplname)
         return Jinja2ProxyPageTemplate(self._env.get_template(tplname + '.html'))
 
-    def precompileTemplates(self):
+    def precompile(self):
         pass
 
 class Jinja2ProxyPageTemplate(TemplateBase):

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