﻿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
4920	newforms-admin TabularInline with ManyToManyField breaks	anonymous	Adrian Holovaty	"In the newforms-admin, if a model has an inline (I've had issues with StackedInline and TabularInline) and the model used in the inline has a ManyToManyField the admin breaks returning:[[BR]]
[[BR]]
Exception Value:  	'StackedInline' object has no attribute 'filter_vertical'[[BR]]
Exception Location: 	/home/code/django/contrib/admin/options.py in formfield_for_dbfield, line 114[[BR]]
[[BR]]
Exception Value:  	'TabularInline' object has no attribute 'filter_vertical'[[BR]]
Exception Location: 	/home/code/django/contrib/admin/options.py in formfield_for_dbfield, line 114[[BR]]
[[BR]]
It works fine if the ManyToManyField is commented out of the inline model temporarily.[[BR]]
The model with the ManyToManyField works fine in the admin on its own (not called as an edit inline).
"		closed	contrib.admin	dev		duplicate	newforms-admin		Unreviewed	0	0	0	0	0	0
