﻿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
14567	ModelMultipleChoiceField inconsistently returns a list if empty.	Stephen Burrows	Anssi Kääriäinen	"The ModelMultipleChoiceField is described as ""A MultipleChoiceField whose choices are a model QuerySet."" If some models have been selected, then the cleaned value of this field is a queryset. However, if the field is not required and the value is empty, the cleaned value returned is a list.

This is inconsistent and causes problems if, say, you want to check that the value passed to a method is a queryset and, if so, access queryset.model. The attached patch replaces [] with self.queryset.none(). I'll work on tests tomorrow if nobody beats me to it."	Bug	closed	Forms	dev	Normal	fixed		stephen.r.burrows@…	Accepted	1	0	0	0	0	0
