1👍
The form_kwargs
parameter is what you need.
modelformset_factory(FirmPartner, form=FirmPartnerForm, can_delete=True, extra=1,
form_kwargs={'request': request, 'application': application})
Source:stackexchange.com
1👍
The form_kwargs
parameter is what you need.
modelformset_factory(FirmPartner, form=FirmPartnerForm, can_delete=True, extra=1,
form_kwargs={'request': request, 'application': application})