首页 > 编程语言 > 详细

跟老齐学Python Django实战 5/n Second edition

时间:2020-07-07 13:25:05      阅读:62      评论:0      收藏:0      [点我收藏+]
Traceback:

File "/home/cor/laoqidjango/lqdjango0601/lib/python3.5/site-packages/django/core/handlers/exception.py" in inner
  34.             response = get_response(request)

File "/home/cor/laoqidjango/lqdjango0601/lib/python3.5/site-packages/django/core/handlers/base.py" in _get_response
  115.                 response = self.process_exception_by_middleware(e, request)

File "/home/cor/laoqidjango/lqdjango0601/lib/python3.5/site-packages/django/core/handlers/base.py" in _get_response
  113.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/home/cor/laoqidjango/lqdjango0602/mysite2/account/views.py" in user_login
  13.             user = authenticate(username=cd[‘username‘], password=cd[‘password‘])

Exception Type: KeyError at /account/login/
Exception Value: ‘username‘

  

跟老齐学Python Django实战 5/n Second edition

原文:https://www.cnblogs.com/winditsway/p/13260168.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!