projects
/
jinja2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
874c12e
)
This fixes #325.
author
Armin Ronacher
<armin.ronacher@active-4.com>
Wed, 4 Feb 2009 18:03:40 +0000
(19:03 +0100)
committer
Armin Ronacher
<armin.ronacher@active-4.com>
Wed, 4 Feb 2009 18:03:40 +0000
(19:03 +0100)
--HG--
branch : trunk
ext/djangojinja2.py
patch
|
blob
|
history
diff --git
a/ext/djangojinja2.py
b/ext/djangojinja2.py
index bab6ec0bfc7c1c7e14d143e7143d17779f6f8c57..d24d1649451758712c5d8c2c190a1567720becda 100644
(file)
--- a/
ext/djangojinja2.py
+++ b/
ext/djangojinja2.py
@@
-44,7
+44,7
@@
def create_env():
"""Create a new Jinja2 environment."""
searchpath = list(settings.JINJA2_TEMPLATE_DIRS)
return Environment(loader=FileSystemLoader(searchpath),
- auto_reload=
not
settings.TEMPLATE_DEBUG,
+ auto_reload=settings.TEMPLATE_DEBUG,
cache_size=getattr(settings, 'JINJA2_CACHE_SIZE', 50),
extensions=getattr(settings, 'JINJA2_EXTENSIONS', ()))