django框架post请求报错The view XXX.views.XXX didn't return an HttpResponse object. It returned None instea
问题描述:post请求报错The viewXXX.views.XXXdidn't return an HttpResponse object. It returned None instead.客户端显示如下背景:用django框架处理post请求时,提交表单信息无误,但post请求一直报500源码:原因:代码中两处大小写问题1、request.method...
原创
2020-01-14 22:06:23 ·
3663 阅读 ·
2 评论