KEY ERROR on self.cleaned_data.get('file')

后端 未结 0 481
感动是毒
感动是毒 2020-12-11 05:31

I\'m getting a key error while I\'m trying to validate a simple form in Django:

I\'ve tried accessing the file name using:

  1. all_clean_data[\'file\']
相关标签:
回答
  • 消灭零回复
提交回复
热议问题