[Answer]-Using formsets or create multiple model row in django admin

1πŸ‘

βœ…

I think the easiest way is to build a changelist action that creates 20 blank BoxModels and saves them to the database.

Then, simply add your fields to ModelAdmin.list_editable and you will be able to edit all the fields in the list view.

It’s definitely the easiest way to accomplish what you’re talking about.

Otherwise, build a custom view and modelform with a formset.

Leave a comment