From bec76c789fa89e3ea86e3998ff3d4941df26edd1 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Wed, 4 Feb 2009 19:03:40 +0100 Subject: [PATCH] This fixes #325. --HG-- branch : trunk --- ext/djangojinja2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/djangojinja2.py b/ext/djangojinja2.py index bab6ec0..d24d164 100644 --- 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', ())) -- 2.26.2