问题:
AttributeError: ‘dict’ object has no attribute ‘status_code’
解决方案
在views.py使用HttpResponse
return HttpResponse(message)
问题:
AttributeError: ‘dict’ object has no attribute ‘status_code’
解决方案
在views.py使用HttpResponse
return HttpResponse(message)