﻿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
30425	Handle `jinja2.TemplateSyntaxError` when rendering a template with or without a source.	Daniel Hahler	Hasan Ramezani	"The ""source"" attribute might be None with syntax error exceptions with Jinja2 templates.

The current code (https://github.com/django/django/blob/673fe2e3ec63614259e86e7a370b9d1e91fcc1e1/django/template/backends/jinja2.py#L84-L108) does not handle it, but could read the source then.

See https://github.com/niwinz/django-jinja/pull/233 for a fix with more details."	Bug	closed	Template system	dev	Normal	fixed			Accepted	1	0	0	0	0	0
