From: Armin Ronacher Date: Sat, 29 Jan 2011 19:26:14 +0000 (+0100) Subject: Reference to compile_templates X-Git-Tag: 2.6~21 X-Git-Url: http://git.tremily.us/?p=jinja2.git;a=commitdiff_plain;h=c889d326e5b17152735eeae8ab47d5c234db73db Reference to compile_templates --- diff --git a/jinja2/loaders.py b/jinja2/loaders.py index bd435e8..f8420c7 100644 --- a/jinja2/loaders.py +++ b/jinja2/loaders.py @@ -397,6 +397,8 @@ class ModuleLoader(BaseLoader): ... ModuleLoader('/path/to/compiled/templates'), ... FileSystemLoader('/path/to/templates') ... ]) + + Templates can be precompiled with :meth:`Environment.compile_templates`. """ has_source_access = False