mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-26 07:19:25 -05:00
Disable template reload checks upon template rendering.
This commit is contained in:
committed by
Neil Williams
parent
b15470271c
commit
95865f8772
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user