﻿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
494	Collapse in admin interface for inline related objects	jcstover@…	Tim Graham <timograham@…>	"It would be nice if there is a property to tell the admin interface to collapse the related object.

eg: 
organisatie = meta.ForeignKey(Organisatie, edit_inline=meta.STACKED, edit_inline_style='collapse')

I changed line 610 in the django/views/admin/main.py to 
t.append('<fieldset class=""module%s"">\n' % ((rel_field.rel.edit_inline != meta.TABULAR) and ' aligned collapse' or ' collapse'))
and it works. But using a property would be better.

Thanks"	New feature	closed	contrib.admin	dev	Normal	fixed	edit_inline, nfa-someday	eric@… schlaber@… anthony@… semente@… msaelices@… upadhyay@… ewalstad@… jgelens@… andy@… ramusus@… Seemant Kulleen glicerinu@… Mikhail Korobov rohit.aggarwal@… jdchrist@… carsten.fuchs@… Ben Stähli patrick cmawebsite@… riccardo.magliocchetti@… toracle@… ramezashraf@…	Accepted	1	0	0	0	0	1
