﻿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
4098	{% with %} tag references unknown global, tagname	cephelo@…	Adrian Holovaty	"There's a small error in the default {% with ... %} tag, it references an unknown variable, 'tagname', when used with invalid syntax. [source:/django/trunk/django/template/defaulttags.py] Line 1002, should be:

{{{
#!python
bits = token.split_contents()
if len(bits) != 4 or bits[2] != ""as"":
    raise TemplateSyntaxError, ""%r expected format is 'value as name'"" % bits[0]
}}}

Also note that there is a superfluous list() call around token.split_contents()."		closed	Template system	dev		fixed			Unreviewed	0	0	0	0	0	0
