[Fixed]-Can we send a request object or keyword argument to modelformset_factory in django 1.9

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})

Leave a comment