📜  用户注册时的 MultiValueDictKeyError - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:20.403000             🧑  作者: Mango

代码示例1
This error comes when You are trying to get username, passwords from the form. In Login, You are using - > request. POST['username'] which will raise a KeyError exception if 'username' is not in request.