]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
Update djangojinja2.py 362/head
authortopher86 <christopher.w.sherwood@gmail.com>
Thu, 28 Aug 2014 17:37:41 +0000 (13:37 -0400)
committertopher86 <christopher.w.sherwood@gmail.com>
Thu, 28 Aug 2014 17:37:41 +0000 (13:37 -0400)
Updating to reflect new default global cache size

ext/djangojinja2.py

index d24d1649451758712c5d8c2c190a1567720becda..c7b4884d725a3635f5a702582cc598e270d90e02 100644 (file)
@@ -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', ()))