Skip to content
Myr

This fixes #325.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

--HG-- branch : trunk

authored by Armin Ronacher · committed by Armin Ronacher · parent 874c12e · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:ext/djangojinja2.py+1 added-1 removed
42 unmodified lines
43def create_env():44 """Create a new Jinja2 environment."""45 searchpath = list(settings.JINJA2_TEMPLATE_DIRS)46 return Environment(loader=FileSystemLoader(searchpath),47 auto_reload=not settings.TEMPLATE_DEBUG,47 auto_reload=settings.TEMPLATE_DEBUG,48 cache_size=getattr(settings, 'JINJA2_CACHE_SIZE', 50),49 extensions=getattr(settings, 'JINJA2_EXTENSIONS', ()))5051
35 unmodified lines