Django报错 ValueError: The view *** didn't return an HttpResponse object. It returned None instead.

Django报错 ValueError: The view *** didn't return an HttpResponse object. It returned None instead.


  错误说明:该错误表明views.py中没有return一个返回值给前端。

  解决办法:检查 return HttpResponse( ) 是否错位!

你可能感兴趣的:(Python,Vue,Django报错,ValueError,HttpResponse,return,instead)