[Fixed]-HttpResponseRedirect that will redirect you to your second last page 12 December 2023 by thecoderscamp.com 1👍 Try this: return HttpResponse('<script>history.go(-2)</script>') 👤albar Efficient way in Django Models to store Items Purchased in a Transaction for a Commerce Store Source:stackexchange.com