使用HttpResponseRedirect redirect和reverse 状态码:302,301 转载于:https://www.cnblogs.com/sea-stream/p/11244146.html