Django+python报错与解决方法

  • 编码信息导致修改django文件下的debug.py文件331行的编码格式
with Path(CURRENT_DIR, 'templates', 'technical_500.html').open(encoding="utf-8") as fh:
 
 
  • The view sign.views.login_action didn't return an HttpResponse object. It returned None instead.缩减错误
posted @ 2019-06-04 17:19  橙子皮!  阅读(345)  评论(0编辑  收藏  举报