url带参数重定向

2019独角兽企业重金招聘Python工程师标准>>> python django重定向的方式有不少种,能够自行百度。这里我推荐是redirect和reverse的方式。很简洁,也能够解决传参数的问题django 示例以下:函数 #投票结果查看 def results(request,question_id=1): return HttpResponse(r"you're looking
相关文章
相关标签/搜索