projects
/
jinja2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4684498
)
Reference to compile_templates
author
Armin Ronacher
<armin.ronacher@active-4.com>
Sat, 29 Jan 2011 19:26:14 +0000
(20:26 +0100)
committer
Armin Ronacher
<armin.ronacher@active-4.com>
Sat, 29 Jan 2011 19:26:14 +0000
(20:26 +0100)
jinja2/loaders.py
patch
|
blob
|
history
diff --git
a/jinja2/loaders.py
b/jinja2/loaders.py
index bd435e8b086d7c2c4916c49500850f2edfa44071..f8420c7aeb8520a7950c247af2006e6f41ad1d23 100644
(file)
--- 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