﻿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
13023	"Don't show ""+ Add another"" in admin inlines when extra = 0"	rasca	Gabriel Hurley	"Up to 1.1 when dealing with inlines in the admin one could set extra=0 to prevent a user to add a new related model.
With the new dynamic inlines, this can't be prevented.

I'm not sure if this is a Bug or not, but certainly we've lost a functionality we had in 1.1, and the code works differently

The 'extra' doc says:
""This controls the number of extra forms the formset will display in addition to the initial forms.""
and
""Extra forms for inlines will be hidden and replaced with a link to dynamically add any number of new inlines for users with Javascript enabled.""
It isn't clear if extra refers to the amount of extra inlines in the initial display or the extra amount of dynamic additions permitted.

I can think of 2 alternatives, changing the behavior of ""+ Add another"" when extra = 0 (will allow the user the same functionality as when javascript disabled), or allowing a extra = None.
I support the first alternative, so we don't to have to change our code, and it maintains the same usability with or without js.

Use case:
I have models A and B. Model B has a fk to model A, and it's shown as inline in the A's change_form.
Model B is too complex to be created in an inline (or has inline's itself).
For usability's sake I often show B as inlines in A, so the user can see the list of B while editing A and allow them to delete a certain B from A (I only show a few readonly fields of B).
Another use is to allow easy drag and drop ordering for a set of B."		closed	contrib.admin	dev		fixed		rasca7@…	Accepted	1	0	0	0	0	0
