return HttpResponseRedirect( reverse(index)) 转载于:https://www.cnblogs.com/kidstudy/archive/2009/12/11/1621907.html