render的用法

from django.shortcuts import HttpResponse, render, redirect 导入

user_info={'name':"mlj"}
return render(request,"index.html",{"user":user_info})
原文地址:https://www.cnblogs.com/mljqqh/p/6865948.html