django新版版本(我现在用的是diango3.2)在shortcuts.py文件已经没有render_to_reponse函数了,改用render
render_to_reponse用法# return render_to_response('Device/error.html', {'tool': t},
# context_instance=RequestContext(request))
render用法
return render(request,'Device/error.html', {'tool': t})


