﻿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
998	Exception in views/debug.py	andy@…	Adrian Holovaty	"There's an error in the {{{get_template_exception_info}}} function that causes the interpreter to raise an {{{UnboundLocalError}}} in the marginal case that the template being debugged has only one line. This is caused by the {{{before}}}, {{{during}}} and {{{after}}} variables not being assigned. This can be fixed by inserting the line

{{{before = during = after = """"}}}

...before the {{{for}}} loop (line 26, django/views/debug.py).

This bug is present in revision 1550."	defect	closed	Core (Other)		normal	fixed			Unreviewed	0	0	0	0	0	0
