Getting “page not found” error while trying to go back to the previous page after successful deletion using DeleteView in django

If you are using class-based (generic) views to delete, you can use reverse_lazy to redirect after delete. In case you are using functional views, you can redirect after the successful deletion of the object from the Database.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top