code: def form_valid(self, form):
          ''' Pass form data to the confirmation view '''
          form.cleaned_data.pop('template', None)
          self.request.session[EMAIL_VALIDATION_STR] = {'form_data': form.cleaned_data}
          return HttpResponseRedirect(reverse('emailConfirmation')f form_valid(self, form):
          ''' Pass form data to the confirmation view '''
          form.cleaned_data.pop('template', None)
          self.request.session[EMAIL_VALIDATION_STR] = {'form_data': form.cleaned_data}
          return HttpResponseRedirect(reverse('emailConfirmation'))
docs: Pass form data to the confirmation view