2👍
✅
For formsets, initial
is a list of dictionaries, where each dictionary is the initial data for one form.
This allows you to have different initial data for each extra form, for example:
initial = [{'configuration': 'configuration1',},
{'configuration': 'configuration2',},
{'configuration': 'configuration3',},
]
If you want the same initial data for every form, you can do:
initial = [{'configuration': configuration,}] * 3)
Source:stackexchange.com