tried out using HttpResponseRedirect rather than redirect