Permalink
Browse files

This fixes #325.

--HG--
branch : trunk
  • Loading branch information...
1 parent 874c12e commit bec76c789fa89e3ea86e3998ff3d4941df26edd1 @mitsuhiko mitsuhiko committed Feb 4, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 ext/djangojinja2.py
View
@@ -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', ()))

0 comments on commit bec76c7

Please sign in to comment.