From: topher86 Date: Thu, 28 Aug 2014 17:37:41 +0000 (-0400) Subject: Update djangojinja2.py X-Git-Tag: 2.8~36^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=074132908f80e3a6321d304795bef577d898504c;p=thirdparty%2Fjinja.git Update djangojinja2.py Updating to reflect new default global cache size --- 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', ()))