From c889d326e5b17152735eeae8ab47d5c234db73db Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Sat, 29 Jan 2011 20:26:14 +0100 Subject: [PATCH] Reference to compile_templates --- jinja2/loaders.py | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.26.2