So I'm deleting an object of a model using DeleteView and redirecting to homePage after successful deletion, works fine. But the problem is when I try to get back to the previous page after deletion(using the left arrow button in the browser). I get "page not found" error which makes total sense because I'm trying to get back to the deletion page of an object which no longer exist. How do I prevent this from happening?
Aucun commentaire:
Enregistrer un commentaire