option to remove the "add another" button on admin.TabularInline
|Reported by:||nickname123||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
There should either be a meta setting in admin.py or logic to turn off the "add another" button that shows up when you use an Inline admin table.
I have a model that is automatically populated to contain altered copies of data in a parent table. The altered copies cannot be modified or added from the admin table because all of the fields have editible=False, but the table shows the add another option anyways. All of the fields are listed using readonly in the admin.py options for the inline table. So when you click the add another you just get readonly fields that say (None). It is confusing and doesn't actually work since you can't really add one from the admin page.