﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
25056	Tests fails when using Jinja2 2.6	Vlastimil Zíma	nobody	"When I run tests on master (hash a570701) 6 of them fails with the same error. Is seems Django does not work with Jinja 2.6, but I found no minimal version required in documentation, so I expect 2.6 should work. Class `jinja2.Environment` does not have `keep_trailing_newline` argument in version 2.6.

Example traceback
{{{
======================================================================
ERROR: setUpClass (template_backends.test_jinja2.Jinja2Tests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ""/home/vlastimil/git/django/tests/template_backends/test_dummy.py"", line 28, in setUpClass
    cls.engine = cls.engine_class(params)
  File ""/home/vlastimil/git/django/django/template/backends/jinja2.py"", line 35, in __init__
    self.env = environment_cls(**options)
TypeError: __init__() got an unexpected keyword argument 'keep_trailing_newline'
}}}"	Bug	closed	Documentation	1.8	Normal	fixed			Accepted	0	0	0	0	0	0
