﻿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
11824	{% with %} tag to support tuples	Ilya Semenov	nobody	"Currently, that's possible to iterate over a collection of tuples with:
{{{
{% for x, y in points %}
    There is a point at {{ x }},{{ y }}
{% endfor %}
}}}

However, given a single tuple, there's no way to extract its items to (temporary) context variables. For example:
{{{
{% with object.get_last_point as point %}
    There is a point at {{ point.0 }},{{ point.1 }} -- ugly and unmaintainable
{% endwith %}
}}}


I would like to propose the extension of {% with %} tag to support the following syntax:
{{{
{% with object.get_last_point as x, y %}
    There is a point at {{ x }},{{ y }}
{% endwith %}
}}}"		closed	Template system	1.1		wontfix	with, tuple		Unreviewed	0	0	0	0	0	0
