From 95865f8772c0c1ffed35f82e2bb2d8b975d293c8 Mon Sep 17 00:00:00 2001 From: Max Goodman Date: Sat, 4 Jun 2011 20:33:30 -0700 Subject: [PATCH] Disable template reload checks upon template rendering. --- r2/r2/config/environment.py | 1 + 1 file changed, 1 insertion(+) diff --git a/r2/r2/config/environment.py b/r2/r2/config/environment.py index 47f321db7..dd1df235a 100644 --- a/r2/r2/config/environment.py +++ b/r2/r2/config/environment.py @@ -64,6 +64,7 @@ def load_environment(global_conf={}, app_conf={}): #tmpl_options['myghty.escapes'] = dict(l=webhelpers.auto_link, s=webhelpers.simple_format) tmpl_options = config['buffet.template_options'] + tmpl_options['mako.filesystem_checks'] = False tmpl_options['mako.default_filters'] = ["mako_websafe"] tmpl_options['mako.imports'] = \ ["from r2.lib.filters import websafe, unsafe, mako_websafe",