Why I get “KeyError” exception in django instead of “This field is required” exception on the form validation

后端 未结 0 1249
北海茫月
北海茫月 2021-01-06 10:59

I\'m new to Django, I have a registration form, Everything works fine If I fill all fields and when I don\'t fill all the fields. But when I submit a form without a username

相关标签:
回答
  • 消灭零回复
提交回复
热议问题