在多步骤表单上工作,但我不断收到TypeError:无法散列的类型:'list',错误。以下是我的代码段
class add_School(SessionWizardView):
template_name = 'schoolprofile.html'
file_storage =FileSystemStorage(location=os.path.join(settings.MEDIA_ROOT, 'images', 'videos'))
def done(self, form_list, form_dict, **kwargs):
form_data = process_data(form_list)
return render('index.html', {form_data: 'form_data'})