Replate redirect with HttpResponseRedirect.