﻿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
13185	optiongroups for ChoiceField - any iterable?	Paul Garner	nobody	"The [http://docs.djangoproject.com/en/dev/ref/models/fields/#choices documentation] for choices of a ChoiceField says you can use any iterable to make a nested structure to represent optiongroups... ''not necessarily a list or tuple''.

In the code for ChoiceField.valid_value it uses this test though:
{{{
if type(v) in (tuple, list):
}}}

Seems like maybe it should use some kind of is_iterable() test function instead if it is to match the docs?"		closed	Documentation	1.2-beta		invalid			Unreviewed	0	0	0	0	0	0
