So whenever you’re talking about multiple instances of a form for the same object, you’re talking about formsets
.
You can nest formsets such that each entry of a form contains a field for a formset for the next level down.
While Django doesn’t directly provide support for nested formsets, it can be made to work. However, you are responsible for managing the prefix
attributes for all the formsets to ensure that every formset ends up with unique id
attributes. (I talk a little bit about some of the specifics here: Multiples of one formset - #12 by KenWhitesell)