Do you want to know the details regarding “how to redirect to previous page in django”. If yes, you’re in the correct post.
how to redirect to previous page in django
<form method="POST"> % csrf_token % form <input type="hidden" name="next" value=" request.path "> <button type="submit">Let's Go</button> </form>
I hope this tutorial helps you to know about “how to redirect to previous page in django”. If you have any doubts regarding this article please let us know via the comment section. Share this article with your friends and family via social networks.