﻿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
16335	Document why you cannot iterate defaultdict in templates	jacob.ninja.dev@…	Nick Meharry	"I am unable to iterate a defaultdict using a for loop in a template.

Code to reproduce issue:


{{{
dictionary = defaultdict(list)
dictionary['foo'].append('bar')

{% for key, value in dictionary.items %}
  {# Never iterates #}
{% endfor %}
}}}
"	Bug	closed	Documentation	1.3	Normal	fixed		Nick Meharry akvadrako	Ready for checkin	1	0	0	1	1	0
