From 074132908f80e3a6321d304795bef577d898504c Mon Sep 17 00:00:00 2001 From: topher86 Date: Thu, 28 Aug 2014 13:37:41 -0400 Subject: [PATCH] Update djangojinja2.py Updating to reflect new default global cache size --- ext/djangojinja2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/djangojinja2.py b/ext/djangojinja2.py index d24d1649..c7b4884d 100644 --- a/ext/djangojinja2.py +++ b/ext/djangojinja2.py @@ -45,7 +45,7 @@ def create_env(): searchpath = list(settings.JINJA2_TEMPLATE_DIRS) return Environment(loader=FileSystemLoader(searchpath), auto_reload=settings.TEMPLATE_DEBUG, - cache_size=getattr(settings, 'JINJA2_CACHE_SIZE', 50), + cache_size=getattr(settings, 'JINJA2_CACHE_SIZE', 400), extensions=getattr(settings, 'JINJA2_EXTENSIONS', ())) -- 2.47.2