﻿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
2102	[patch] Enable the template for loop to work with a generator.	dbm-django@…	Adrian Holovaty	"The template system's for loop currently doesn't work with a generator because the length of the iterable is required for the variables forloop.revcounter, forloop.revcounter0 and forloop.last.

This patch simply checks for a __len__ attribute on the iterable. If it doesn't exist, a list is created from the iterable and used in its place."	enhancement	closed	Template system		normal	fixed			Unreviewed	1	0	0	0	0	0
