﻿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
338	ManyToMany fields don''t work in the generic views	mlambert@…	Jacob	"Given a model like:

class A(meta.Model):
  ...

class B(meta.Model):
  fields = ( meta.ManyToManyField(A) )

then when using a {{form.as}} in the template, the selection box (the list of all A's) is filled out correctly, but the list of A's related to B is not correctly filled out.

SelectMultipleField does take in a data parameter, and appears to correctly add selected=""selected"" to the <option>s, but there is no data for ""as"" in the data dict of fields. Likely this just needs to be setup properly somewhere. Don't know if/what anything special needs to be done on the POST-submission side of things.
"	defect	closed	Generic views		normal	fixed			Unreviewed	0	0	0	0	0	0
