code: def get_form_kwargs(self):
          
  
          kwargs = {}
          for key in six.iterkeys(self.form_classes):
              if self.request.method in ('POST', 'PUT'):
                  kwargs[key] = {
                      'data': self.request.POST,
                      'files': self.request.FILES,
                  }
              else:
                  kwargs[key] = {}
          return kwargs
docs: Build the keyword arguments required to instantiate the form.