def get_form_kwargs(self):
        kwargs = {'initial': self.get_initial()}
        if self.request.method in ('POST', 'PUT'):
            kwargs.update({
                'data': self.DATA,
                'files': self.FILES,
            })
        return kwargs
Returns the keyword arguments for instanciating the form.
dataset/ETHPy150Open ionyse/ionyweb/ionyweb/administration/actions/views.py/ActionAdminDetailView.get_form_kwargs